3
0
Fork 0
forked from mirrors/nixpkgs

kwallet-pam: set path to socat

This commit is contained in:
Thomas Tuegel 2017-05-26 15:47:39 -05:00
parent dea7372ebf
commit b9ae0c7185
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -1,10 +1,11 @@
{ mkDerivation, extra-cmake-modules, pam, socat, libgcrypt }:
{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, }:
mkDerivation {
name = "kwallet-pam";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ pam socat libgcrypt ];
buildInputs = [ pam socat libgcrypt qtbase ];
postPatch = ''
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
'';
}