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

fix bzr prefetcher on darwin

This commit is contained in:
Charles Strahan 2014-06-22 05:05:50 -04:00
parent a6a729b207
commit 400b94e120

View file

@ -1,4 +1,4 @@
{ stdenv, makeWrapper, git, subversion, mercurial, bazaar, cvs, unzip, curl }:
{ stdenv, makeWrapper, git, subversion, mercurial, bazaar, cvs, unzip, curl, gnused }:
stdenv.mkDerivation {
name = "nix-prefetch-scripts";
@ -14,7 +14,7 @@ stdenv.mkDerivation {
cp $src $out/bin/$name;
for dep in ''${@:3}; do
local exe=$dep/bin;
local wrapArgs="$wrapArgs --suffix PATH : $exe"
local wrapArgs="$wrapArgs --prefix PATH : $exe"
done
wrapProgram $out/bin/$name $wrapArgs
}
@ -22,7 +22,7 @@ stdenv.mkDerivation {
copyScript "hg" ${../../../build-support/fetchhg/nix-prefetch-hg} ${mercurial}
copyScript "git" ${../../../build-support/fetchgit/nix-prefetch-git} ${git}
copyScript "svn" ${../../../build-support/fetchsvn/nix-prefetch-svn} ${subversion}
copyScript "bzr" ${../../../build-support/fetchbzr/nix-prefetch-bzr} ${bazaar}
copyScript "bzr" ${../../../build-support/fetchbzr/nix-prefetch-bzr} ${bazaar} ${gnused}
copyScript "cvs" ${../../../build-support/fetchcvs/nix-prefetch-cvs} ${cvs}
copyScript "zip" ${./nix-prefetch-zip} ${unzip} ${curl}
'';