depot/third_party/nixpkgs/pkgs/kde/plasma/kwallet-pam/default.nix

17 lines
240 B
Nix
Raw Normal View History

{
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];
}