apache-httpd: respect review in #33481

This commit is contained in:
Orivej Desh 2018-01-06 18:40:44 +00:00
parent 19659e42c5
commit 729f97ef9b

View File

@ -4,15 +4,13 @@
, http2Support ? true, nghttp2
, ldapSupport ? true, openldap
, libxml2Support ? true, libxml2
, brotliSupport ? true, brotli ? null
, brotliSupport ? true, brotli
, luaSupport ? false, lua5
}:
let optional = stdenv.lib.optional;
optionalString = stdenv.lib.optionalString;
let inherit (stdenv.lib) optional optionalString;
in
assert brotliSupport -> brotli != null;
assert sslSupport -> aprutil.sslSupport && openssl != null;
assert ldapSupport -> aprutil.ldapSupport && openldap != null;
assert http2Support -> nghttp2 != null;