aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix')
-rw-r--r--nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix b/nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix
new file mode 100644
index 00000000000..b4fd032cf1f
--- /dev/null
+++ b/nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix
@@ -0,0 +1,10 @@
+{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }:
+
+mkDerivation {
+ name = "kwallet-pam";
+ nativeBuildInputs = [ extra-cmake-modules ];
+ buildInputs = [ pam socat libgcrypt qtbase kwallet ];
+ postPatch = ''
+ sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
+ '';
+}