xdg-utils: Don't depend on "which"
This commit is contained in:
parent
fc1077c9fb
commit
48efe637ac
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
substituteInPlace $item --replace "sed " "${gnused}/bin/sed "
|
substituteInPlace $item --replace "sed " "${gnused}/bin/sed "
|
||||||
substituteInPlace $item --replace "egrep " "${gnugrep}/bin/egrep "
|
substituteInPlace $item --replace "egrep " "${gnugrep}/bin/egrep "
|
||||||
sed -i $item -re "s#([^e])grep #\1${gnugrep}/bin/grep #g" # Don't replace 'egrep'
|
sed -i $item -re "s#([^e])grep #\1${gnugrep}/bin/grep #g" # Don't replace 'egrep'
|
||||||
substituteInPlace $item --replace "which " "${which}/bin/which "
|
substituteInPlace $item --replace "which " "type -P "
|
||||||
substituteInPlace $item --replace "/usr/bin/file" "${file}/bin/file"
|
substituteInPlace $item --replace "/usr/bin/file" "${file}/bin/file"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user