diff options
Diffstat (limited to 'pkgs/kde/plasma/kwallet-pam/default.nix')
-rw-r--r-- | pkgs/kde/plasma/kwallet-pam/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/kde/plasma/kwallet-pam/default.nix b/pkgs/kde/plasma/kwallet-pam/default.nix new file mode 100644 index 000000000000..4b3cdd678dee --- /dev/null +++ b/pkgs/kde/plasma/kwallet-pam/default.nix @@ -0,0 +1,16 @@ +{ + lib, + mkKdeDerivation, + pam, + libgcrypt, + socat, +}: +mkKdeDerivation { + pname = "kwallet-pam"; + + postPatch = '' + sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|" + ''; + + extraBuildInputs = [pam libgcrypt]; +} |