summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5/kwallet-pam.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/plasma-5/kwallet-pam.nix')
-rw-r--r--pkgs/desktops/plasma-5/kwallet-pam.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/desktops/plasma-5/kwallet-pam.nix b/pkgs/desktops/plasma-5/kwallet-pam.nix
index 2789499c50a2..1cbfb87ea563 100644
--- a/pkgs/desktops/plasma-5/kwallet-pam.nix
+++ b/pkgs/desktops/plasma-5/kwallet-pam.nix
@@ -1,11 +1,10 @@
-{ plasmaPackage, extra-cmake-modules, pam, socat, libgcrypt
-}:
+{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, }:
 
-plasmaPackage {
+mkDerivation {
   name = "kwallet-pam";
-
   nativeBuildInputs = [ extra-cmake-modules ];
-
-  buildInputs = [ pam socat libgcrypt ];
-
+  buildInputs = [ pam socat libgcrypt qtbase ];
+  postPatch = ''
+    sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
+  '';
 }