about summary refs log tree commit diff
path: root/pkgs/applications/misc/syncthingtray
diff options
context:
space:
mode:
authorV <v@anomalous.eu>2023-12-10 22:39:29 +0100
committerV <v@anomalous.eu>2023-12-18 20:42:47 +0100
commit2ada2933862487956e111d4163f8551300d8037a (patch)
treec73c8d7dcf4786026c631163fddb6dc6620d2055 /pkgs/applications/misc/syncthingtray
parent06e5eff89a17c8aede07f112058551687c041813 (diff)
syncthingtray: add xdg-utils to PATH
This is needed to make opening the web view work.

Change-Id: I2d309e2846a2b31b43c1609a969dd3dc3aba189e
Diffstat (limited to 'pkgs/applications/misc/syncthingtray')
-rw-r--r--pkgs/applications/misc/syncthingtray/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/misc/syncthingtray/default.nix b/pkgs/applications/misc/syncthingtray/default.nix
index 53eb0fca5ae26..3284148b1f6cc 100644
--- a/pkgs/applications/misc/syncthingtray/default.nix
+++ b/pkgs/applications/misc/syncthingtray/default.nix
@@ -19,6 +19,7 @@
 , iconv
 , cppunit
 , syncthing
+, xdg-utils
 , webviewSupport ? true
 , jsSupport ? true
 , kioPluginSupport ? stdenv.isLinux
@@ -95,6 +96,10 @@ stdenv.mkDerivation (finalAttrs: {
     ++ lib.optionals (!webviewSupport) ["-DWEBVIEW_PROVIDER:STRING=none"]
   ;
 
+  qtWrapperArgs = [
+    "--prefix PATH : ${lib.makeBinPath [ xdg-utils ]}"
+  ];
+
   meta = with lib; {
     homepage = "https://github.com/Martchus/syncthingtray";
     description = "Tray application and Dolphin/Plasma integration for Syncthing";