ants: use wrapProgram with --prefix not --set
In this way coreutils is not removed from PATH. Fixes #391554
This commit is contained in:
@@ -41,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
postInstall = ''
|
||||
for file in $out/bin/*; do
|
||||
wrapProgram $file --set PATH "$out/bin"
|
||||
wrapProgram $file --prefix PATH : "$out/bin"
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user