mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 17:23:34 +00:00
apache-httpd: Enable SSL via buildInputs
The old approach doesn't seem to work with multiple outputs.
This commit is contained in:
parent
c856b13067
commit
7cd13b9003
@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [perl] ++
|
||||
optional sslSupport openssl ++
|
||||
optional ldapSupport openldap ++ # there is no --with-ldap flag
|
||||
optional libxml2Support libxml2;
|
||||
|
||||
@ -42,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
--enable-imagemap
|
||||
--enable-cgi
|
||||
${optionalString proxySupport "--enable-proxy"}
|
||||
${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"}
|
||||
${optionalString sslSupport "--enable-ssl"}
|
||||
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
|
||||
${optionalString libxml2Support "--with-libxml2=${libxml2}/include/libxml2"}
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user