nginx: Add `withDebug` argument

wip/yesman
Niklas Hambüchen 6 years ago
parent 3688ab8f5d
commit 94d97fe290
  1. 3
      pkgs/servers/http/nginx/generic.nix

@ -1,5 +1,6 @@
{ stdenv, fetchurl, fetchFromGitHub, openssl, zlib, pcre, libxml2, libxslt, expat
, gd, geoip
, withDebug ? false
, withStream ? true
, withMail ? false
, modules ? []
@ -44,6 +45,8 @@ stdenv.mkDerivation {
"--with-pcre-jit"
# Install destination problems
# "--with-http_perl_module"
] ++ optional withDebug [
"--with-debug"
] ++ optional withStream [
"--with-stream"
"--with-stream_geoip_module"

Loading…
Cancel
Save