From 6923539d84c559daf8b5286b10cf5dfaa4de5d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 3 Oct 2010 09:18:03 +0000 Subject: [PATCH] Fixing the apache build (comment on the fix in the source) svn path=/nixpkgs/branches/stdenv-updates/; revision=24032 --- pkgs/servers/http/apache-httpd/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/servers/http/apache-httpd/default.nix b/pkgs/servers/http/apache-httpd/default.nix index 6048a2fa81b..962cefd0974 100644 --- a/pkgs/servers/http/apache-httpd/default.nix +++ b/pkgs/servers/http/apache-httpd/default.nix @@ -19,6 +19,11 @@ stdenv.mkDerivation rec { buildInputs = [perl apr aprutil pcre] ++ stdenv.lib.optional sslSupport openssl; + # An apr-util header file includes an apr header file + # through #include "" (quotes) + # passing simply CFLAGS did not help, then I go by NIX_CFLAGS_COMPILE + NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1"; + configureFlags = '' --with-z=${zlib} --with-pcre=${pcre}