forked from mirrors/nixpkgs
kwallet-pam: set path to socat
This commit is contained in:
parent
dea7372ebf
commit
b9ae0c7185
|
@ -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|"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue