xdg_utils: fixes #14060
This commit is contained in:
parent
af1e32acd3
commit
621ed35991
@ -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/*
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user