From 3756e6021ad2883791731195298858f0aa677e05 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 11 Apr 2011 12:20:59 +0000 Subject: use same name as nix-prefetch-hg for derivation svn path=/nixpkgs/trunk/; revision=26778 --- pkgs/build-support/fetchhg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/build-support/fetchhg') diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix index a3a2ec4d561..5424c87ded7 100644 --- a/pkgs/build-support/fetchhg/default.nix +++ b/pkgs/build-support/fetchhg/default.nix @@ -2,7 +2,7 @@ # TODO: statically check if mercurial as the https support if the url starts woth https. stdenv.mkDerivation { - name = "fetchhg" + (if (name != null) then "-${name}" else ""); + name = "hg-archive" + (if (name != null) then "-${name}" else ""); builder = ./builder.sh; buildInputs = [mercurial nix]; -- cgit 1.4.1