diff options
Diffstat (limited to 'pkgs/build-support/fetchhg/default.nix')
-rw-r--r-- | pkgs/build-support/fetchhg/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix index a3a2ec4d561cb..5424c87ded794 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]; |