1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/desktops/plasma-5/kwallet-pam.nix

11 lines
308 B
Nix
Raw Normal View History

2017-05-26 21:47:39 +01:00
{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, }:
2016-08-10 15:01:47 +01:00
mkDerivation {
2016-08-10 15:01:47 +01:00
name = "kwallet-pam";
nativeBuildInputs = [ extra-cmake-modules ];
2017-05-26 21:47:39 +01:00
buildInputs = [ pam socat libgcrypt qtbase ];
postPatch = ''
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
'';
2016-08-10 15:01:47 +01:00
}