diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2015-06-30 15:41:22 +0200 |
---|---|---|
committer | Pascal Wittmann <mail@pascal-wittmann.de> | 2015-06-30 15:45:09 +0200 |
commit | 16406e63b310e832b017bf9ef0473a6aa792f7da (patch) | |
tree | ed2f3779e757d7fc5082e40ad1418db1bbbb61ad | |
parent | 3dd09ed0696cc9823b398ce64a7a7440b6661278 (diff) | |
download | nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.tar nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.tar.gz nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.tar.bz2 nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.tar.lz nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.tar.xz nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.tar.zst nixlib-16406e63b310e832b017bf9ef0473a6aa792f7da.zip |
xdg_utils: fix handling of runtime dependencies, closes #8564
'egrep' was substituted with the path to the grep binary
-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 5f5619002d61..7ba20480b6f5 100644 --- a/pkgs/tools/X11/xdg-utils/default.nix +++ b/pkgs/tools/X11/xdg-utils/default.nix @@ -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 |