xdg_utils: fixes #14060

This commit is contained in:
zimbatm 2016-03-20 00:50:39 +00:00
parent af1e32acd3
commit 621ed35991

View File

@ -39,6 +39,12 @@ stdenv.mkDerivation rec {
sed "s# $(basename "$tool") # $tool #g" -i "$out"/bin/*
done
substituteInPlace $out/bin/xdg-open \
--replace "/usr/bin/printf" "${coreutils}/bin/printf"
substituteInPlace $out/bin/xdg-mime \
--replace "/usr/bin/file" "${file}/bin/file"
sed 's# which # type -P #g' -i "$out"/bin/*
'';