1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

use same name as nix-prefetch-hg for derivation

svn path=/nixpkgs/trunk/; revision=26778
This commit is contained in:
Rob Vermaas 2011-04-11 12:20:59 +00:00
parent 9e26da96e5
commit 3756e6021a

View file

@ -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];