diff options
author | Graham Christensen <graham@grahamc.com> | 2020-06-17 08:27:55 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2020-06-17 08:27:55 -0400 |
commit | 4b5880f01563b1303d60da83c703742b713059f5 (patch) | |
tree | 313129992fb207f3f50a63bd701cdf7751c01aa1 /pkgs/tools/X11/xdg-utils | |
parent | e76f83c266f7b03afe798cfcd9ff068ac369d5e4 (diff) |
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"
Diffstat (limited to 'pkgs/tools/X11/xdg-utils')
-rw-r--r-- | pkgs/tools/X11/xdg-utils/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xdg-utils/default.nix b/pkgs/tools/X11/xdg-utils/default.nix index 64b205bada58..ccea6a2233cc 100644 --- a/pkgs/tools/X11/xdg-utils/default.nix +++ b/pkgs/tools/X11/xdg-utils/default.nix @@ -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 \ |