From 2ada2933862487956e111d4163f8551300d8037a Mon Sep 17 00:00:00 2001 From: V Date: Sun, 10 Dec 2023 22:39:29 +0100 Subject: [PATCH] syncthingtray: add xdg-utils to PATH This is needed to make opening the web view work. Change-Id: I2d309e2846a2b31b43c1609a969dd3dc3aba189e --- pkgs/applications/misc/syncthingtray/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/misc/syncthingtray/default.nix b/pkgs/applications/misc/syncthingtray/default.nix index 53eb0fca5ae2..3284148b1f6c 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";