nix-prefetch-scripts: Use correct output of 'nix'

This commit is contained in:
Tuomas Tynkkynen 2016-05-14 21:10:23 +03:00
parent b7437eb012
commit d359ce90e8

View File

@ -18,7 +18,7 @@ let mkPrefetchScript = tool: src: deps:
wrapArgs="$wrapArgs --prefix PATH : $dep/bin"
done
wrapArgs="$wrapArgs --prefix PATH : ${gnused}/bin"
wrapArgs="$wrapArgs --prefix PATH : ${nix}/bin" # For nix-hash
wrapArgs="$wrapArgs --prefix PATH : ${nix.out}/bin" # For nix-hash
wrapArgs="$wrapArgs --set HOME : /homeless-shelter"
wrapProgram $out/bin/$name $wrapArgs
'';