From 48efe637acac8558a9401a15ff0ed14eef3f6750 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 26 Jul 2015 13:01:11 +0200 Subject: [PATCH] xdg-utils: Don't depend on "which" --- pkgs/tools/X11/xdg-utils/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix index 6f306a86891..c010884abdd 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 '';