1
0
Fork 1
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:
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/;