3
0
Fork 0
forked from mirrors/nixpkgs

xdg-utils: Don't depend on "which"

This commit is contained in:
Eelco Dolstra 2015-07-26 13:01:11 +02:00
parent fc1077c9fb
commit 48efe637ac

View file

@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
substituteInPlace $item --replace "sed " "${gnused}/bin/sed "
substituteInPlace $item --replace "egrep " "${gnugrep}/bin/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"
done
'';