forked from mirrors/nixpkgs
xdg_utils: fix handling of runtime dependencies, closes #8564
'egrep' was substituted with the path to the grep binary
This commit is contained in:
parent
3dd09ed069
commit
16406e63b3
|
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
|||
for item in $out/bin/*; do
|
||||
substituteInPlace $item --replace "cut " "${coreutils}/bin/cut "
|
||||
substituteInPlace $item --replace "sed " "${gnused}/bin/sed "
|
||||
substituteInPlace $item --replace "grep " "${gnugrep}/bin/grep "
|
||||
substituteInPlace $item --replace "egrep " "${gnugrep}/bin/egrep "
|
||||
sed -i $item -e "s#[^e]grep #${gnugrep}/bin/grep #g" # Don't replace 'egrep'
|
||||
substituteInPlace $item --replace "which " "${which}/bin/which "
|
||||
substituteInPlace $item --replace "/usr/bin/file" "${file}/bin/file"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue