diff --git a/pkgs/servers/http/apache-httpd/2.2.nix b/pkgs/servers/http/apache-httpd/2.2.nix index 88e1475342c6..250c1c97ced3 100644 --- a/pkgs/servers/http/apache-httpd/2.2.nix +++ b/pkgs/servers/http/apache-httpd/2.2.nix @@ -22,6 +22,7 @@ stdenv.mkDerivation rec { # FIXME: -dev depends on -doc outputs = [ "dev" "out" "doc" ]; + setOutputFlags = false; # it would move $out/modules, etc. buildInputs = [ pkgconfig perl apr aprutil pcre zlib ] ++ stdenv.lib.optional sslSupport openssl; @@ -46,6 +47,8 @@ stdenv.mkDerivation rec { --enable-disk-cache --enable-file-cache --enable-mem-cache + --includedir=$(dev)/include + --docdir=$(doc)/share/doc ''; enableParallelBuilding = true; diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix index 780eae8132d4..9049b0122fd7 100644 --- a/pkgs/servers/http/apache-httpd/2.4.nix +++ b/pkgs/servers/http/apache-httpd/2.4.nix @@ -24,6 +24,7 @@ stdenv.mkDerivation rec { # FIXME: -dev depends on -doc outputs = [ "dev" "out" "doc" ]; + setOutputFlags = false; # it would move $out/modules, etc. buildInputs = [perl] ++ optional sslSupport openssl ++ @@ -54,6 +55,8 @@ 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 ''; enableParallelBuilding = true;