Skip to content

Commit

Permalink
apache-httpd: respect review in #33481
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Jan 6, 2018
1 parent 19659e4 commit 729f97e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgs/servers/http/apache-httpd/2.4.nix
Expand Up @@ -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;
Expand Down

0 comments on commit 729f97e

Please sign in to comment.