forked from mirrors/nixpkgs
xdg_utils: xdg-open: add $out to PATH
Otherwise, xdg-open cannot call xdg-mime and this does not work: "${pkgs.xdg_utils}/bin/xdg-open"
This commit is contained in:
parent
e76f83c266
commit
4b5880f015
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
|||
xset() { ${xset}/bin/xset "$@"; }\
|
||||
perl() { PERL5LIB=${perlPath} ${perlPackages.perl}/bin/perl "$@"; }\
|
||||
mimetype() { ${perlPackages.FileMimeInfo}/bin/mimetype "$@"; }\
|
||||
PATH=$PATH:'"$out"'/bin\
|
||||
&#' -i "$out"/bin/*
|
||||
|
||||
substituteInPlace $out/bin/xdg-open \
|
||||
|
|
Loading…
Reference in a new issue