monit: fix build with libxcrypt
This commit is contained in:
parent
2b899ee967
commit
fe91064c22
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
, bison
|
||||
, flex
|
||||
, zlib
|
||||
, libxcrypt
|
||||
, usePAM ? stdenv.hostPlatform.isLinux
|
||||
, pam
|
||||
, useSSL ? true
|
||||
|
@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ bison flex ];
|
||||
buildInputs = [ zlib.dev ] ++
|
||||
buildInputs = [ zlib.dev libxcrypt ] ++
|
||||
lib.optionals useSSL [ openssl ] ++
|
||||
lib.optionals usePAM [ pam ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue