monit: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 02:02:16 +02:00 committed by Martin Weinelt
parent 2b899ee967
commit fe91064c22
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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 ];