about summary refs log tree commit diff
path: root/pkgs/desktops
diff options
context:
space:
mode:
authorLijun Chen <chenlijun1999@gmail.com>2023-03-25 10:28:01 +0100
committerLijun Chen <chenlijun1999@gmail.com>2023-03-25 10:39:10 +0100
commit50e860b91ebcdbc71b94f3ceeb7542e28ae12d29 (patch)
tree892c6393bb6443db8752e2b7288d9b97fdcde9e8 /pkgs/desktops
parentac718d02867a84b42522a0ece52d841188208f2c (diff)
xdg-desktop-portal-kde: fix missing runtime dependency
`plasma-workspace` is required when `xdg-desktop-portal-kde` needs to
open an application picker to let the user pick the application to use to
open a certain file (when no existing default is available).
If `plasma-workspace` is not available the `xdg-desktop-portal-kde` service
logs an error and nothing else happens (the application picker is not opened).

See https://github.com/NixOS/nixpkgs/issues/160923#issuecomment-1474989176
Diffstat (limited to 'pkgs/desktops')
-rw-r--r--pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix b/pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix
index dc5728791b609..5fa1a17c4240b 100644
--- a/pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix
+++ b/pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix
@@ -19,6 +19,7 @@
 , kdeclarative
 , plasma-framework
 , plasma-wayland-protocols
+, plasma-workspace
 , kio
 , qtbase
 }:
@@ -45,5 +46,6 @@ mkDerivation {
     kdeclarative
     plasma-framework
     plasma-wayland-protocols
+    plasma-workspace
   ];
 }