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 { mkDerivation {
name = "kwallet-pam"; name = "kwallet-pam";
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ pam socat libgcrypt qtbase ];
buildInputs = [ pam socat libgcrypt ]; postPatch = ''
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
'';
} }