mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03: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
@ -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 New Issue
Block a user