about summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-18 20:42:50 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-18 21:13:18 +0200
commitb4bf4327097265d855ad04f09759bd2eeb73aed1 (patch)
tree6446870bcaab983e69460a8dbfc4966cca683348 /pkgs/servers/http
parent21a2f2ba3bc8962845f0b45cacac4e47557ebf13 (diff)
downloadnixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.tar
nixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.tar.gz
nixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.tar.bz2
nixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.tar.lz
nixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.tar.xz
nixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.tar.zst
nixlib-b4bf4327097265d855ad04f09759bd2eeb73aed1.zip
nghttp2: 1.8.0 -> 1.9.2, unify with libnghttp2, and use multiple outputs
Note: I ignored the C++ libraries, but it appears we're not currently
using them. Once we do, we'll probably want to put them in a separate
output as well (to prevent non-C++ users from depending on Boost).
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/apache-httpd/2.4.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/http/apache-httpd/2.4.nix b/pkgs/servers/http/apache-httpd/2.4.nix
index a39d0e8e3158..f69001da08ac 100644
--- a/pkgs/servers/http/apache-httpd/2.4.nix
+++ b/pkgs/servers/http/apache-httpd/2.4.nix
@@ -1,7 +1,7 @@
 { stdenv, fetchurl, perl, zlib, apr, aprutil, pcre, libiconv
 , proxySupport ? true
 , sslSupport ? true, openssl
-, http2Support ? true, libnghttp2
+, http2Support ? true, nghttp2
 , ldapSupport ? true, openldap
 , libxml2Support ? true, libxml2
 , luaSupport ? false, lua5
@@ -13,7 +13,7 @@ in
 
 assert sslSupport -> aprutil.sslSupport && openssl != null;
 assert ldapSupport -> aprutil.ldapSupport && openldap != null;
-assert http2Support -> libnghttp2 != null;
+assert http2Support -> nghttp2 != null;
 
 stdenv.mkDerivation rec {
   version = "2.4.18";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
     optional sslSupport openssl ++
     optional ldapSupport openldap ++    # there is no --with-ldap flag
     optional libxml2Support libxml2 ++
-    optional http2Support libnghttp2 ++
+    optional http2Support nghttp2 ++
     optional stdenv.isDarwin libiconv;
 
   patchPhase = ''
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
     --enable-cgi
     ${optionalString proxySupport "--enable-proxy"}
     ${optionalString sslSupport "--enable-ssl"}
-    ${optionalString http2Support "--enable-http2 --with-nghttp2=${libnghttp2}"}
+    ${optionalString http2Support "--enable-http2 --with-nghttp2"}
     ${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
     ${optionalString libxml2Support "--with-libxml2=${libxml2.dev}/include/libxml2"}
     --docdir=$(doc)/share/doc