diff options
author | Emery Hemingway <ehmry@posteo.net> | 2022-07-11 18:23:52 -0500 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2022-08-19 13:11:27 -0500 |
commit | b5526585c2de2e66c9111a5484dee65806acbcf5 (patch) | |
tree | 72625ad307637114914f9266658d7ad78e52c785 /pkgs/applications/networking/instant-messengers/telegram/tdesktop | |
parent | 1a9c66f883bd8ccd71279a7faabe1a5556b9ccb2 (diff) | |
download | nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.tar nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.tar.gz nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.tar.bz2 nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.tar.lz nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.tar.xz nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.tar.zst nixpkgs-b5526585c2de2e66c9111a5484dee65806acbcf5.zip |
treewide: inject xdg-open into wrappers as $PATH suffix
The xdg-open utility is only ever a runtime dependency and its dependents only expect that it accept a URI as a command line argument and do something with it that the user would expect. For such as a trivial relationship it should be possible for users to override xdg-open with something else in their PATH.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/telegram/tdesktop')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix index 3f1468126fd..bc7fa4a14bc 100644 --- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix +++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix @@ -173,7 +173,7 @@ env.mkDerivation rec { wrapProgram $out/bin/telegram-desktop \ "''${gappsWrapperArgs[@]}" \ "''${qtWrapperArgs[@]}" \ - --prefix PATH : ${lib.makeBinPath [ xdg-utils]} \ + --suffix PATH : ${lib.makeBinPath [ xdg-utils]} \ --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR" sed -i $out/bin/telegram-desktop \ -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\"," |