mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
prefetch-scripts: improve purity
Set HOME to /homeless-shelter to prevent things like git hooks from running Closes #5777
This commit is contained in:
parent
0351b7a710
commit
54f3b50131
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ stdenv.mkDerivation {
|
|||
wrapArgs="$wrapArgs --prefix PATH : $dep/bin"
|
||||
done
|
||||
wrapArgs="$wrapArgs --prefix PATH : ${gnused}/bin"
|
||||
wrapArgs="$wrapArgs --set HOME : /homeless-shelter"
|
||||
wrapProgram $out/bin/$name $wrapArgs
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue