From 7cd13b9003da2dfe50e7fcf92933e5ae812d1701 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Fri, 21 Aug 2015 21:12:25 +0300 Subject: [PATCH] apache-httpd: Enable SSL via buildInputs The old approach doesn't seem to work with multiple outputs. --- pkgs/servers/http/apache-httpd/2.4.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index 29f8a9621c9e..bcfd885ae012 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -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"} '';