mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
ce77225e21
This is the thing you want to look at.
17 lines
240 B
Nix
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];
|
|
}
|