3
0
Fork 0
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:
Graham Christensen 2020-06-17 08:27:55 -04:00
parent e76f83c266
commit 4b5880f015
No known key found for this signature in database
GPG key ID: FE918C3A98C1030F

View file

@ -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 \