diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-07-26 13:01:11 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-07-26 22:46:23 +0200 |
commit | 48efe637acac8558a9401a15ff0ed14eef3f6750 (patch) | |
tree | a23ce446385eddb0f70db95d4779b6f171a2a9e2 /pkgs/tools/X11/xdg-utils | |
parent | fc1077c9fbb526403aac00e24a6b641df6143ba5 (diff) |
xdg-utils: Don't depend on "which"
Diffstat (limited to 'pkgs/tools/X11/xdg-utils')
-rw-r--r-- | pkgs/tools/X11/xdg-utils/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix index 6f306a868911..c010884abdd6 100644 --- a/pkgs/tools/X11/xdg-utils/default.nix +++ b/pkgs/tools/X11/xdg-utils/default.nix @@ -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 ''; |