git.iko.soy/typeable/nixpkgs
on master help sign in
xdg_utils: fix handling of runtime dependencies, closes #8564

'egrep' was substituted with the path to the grep binary

commit16406e63b310e832b017bf9ef0473a6aa792f7da authorPascal Wittmann <mail@pascal-wittmann.de> dateTue 30 Jun 2015, 15:41 (11 years ago) parent3dd09ed
1 file changed+1−1
pkgs/tools/X11/xdg-utils/default.nix+1−1
pkgs/tools/X11/xdg-utils/default.nix+1−1
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
1717 for item in $out/bin/*; do
1818 substituteInPlace $item --replace "cut " "${coreutils}/bin/cut "
1919 substituteInPlace $item --replace "sed " "${gnused}/bin/sed "
20− substituteInPlace $item --replace "grep " "${gnugrep}/bin/grep "
2120 substituteInPlace $item --replace "egrep " "${gnugrep}/bin/egrep "
21+ sed -i $item -e "s#[^e]grep #${gnugrep}/bin/grep #g" # Don't replace 'egrep'
2222 substituteInPlace $item --replace "which " "${which}/bin/which "
2323 substituteInPlace $item --replace "/usr/bin/file" "${file}/bin/file"
2424 done