apache modules: fix build problems

pkgs.mod_evasive was removed, because that combination isn't supported
(according to an assertion).
This commit is contained in:
Vladimír Čunát
2015-12-05 13:16:55 +01:00
parent 2709a815e5
commit 6cc57be289
4 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
# Required for pthread_cancel.
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
preConfigure = ''
configureFlags="$configureFlags --includedir=$dev/include"
'';
configureFlags = ''
--with-apr=${apr}
--with-apr-util=${aprutil}
@@ -55,7 +58,6 @@ stdenv.mkDerivation rec {
${optionalString sslSupport "--enable-ssl"}
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
${optionalString libxml2Support "--with-libxml2=${libxml2.dev}/include/libxml2"}
--includedir=$(dev)/include
--docdir=$(doc)/share/doc
'';