nixpkgs/pkgs/kde/plasma/kwallet-pam/default.nix
K900 ce77225e21 pkgs/kde: init at 6.0.0 / 24.02.0, the Nix bits
This is the thing you want to look at.
2024-02-28 18:49:23 +03:00

17 lines
240 B
Nix

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