mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
Fix OpenSSL requirement
This commit is contained in:
parent
6ab576b702
commit
1e711ee42d
|
@ -11,7 +11,10 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ bison flex ];
|
||||
buildInputs = [ openssl ] ++ stdenv.lib.optionals usePAM [ pam ];
|
||||
|
||||
configureFlags = stdenv.lib.optionals (! usePAM) [ "--without-pam" ];
|
||||
configureFlags = [
|
||||
"--with-ssl-incl-dir=${openssl}/include"
|
||||
"--with-ssl-lib-dir=${openssl}/lib"
|
||||
] ++ stdenv.lib.optionals (! usePAM) [ "--without-pam" ];
|
||||
|
||||
meta = {
|
||||
homepage = http://mmonit.com/monit/;
|
||||
|
|
Loading…
Reference in a new issue