Fix OpenSSL requirement

This commit is contained in:
Wout Mertens 2014-05-09 22:47:45 +02:00
parent 6ab576b702
commit 1e711ee42d

View File

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