nginx: Add withDebug argument

This commit is contained in:
Niklas Hambüchen 2018-06-28 01:30:51 +02:00
parent 3688ab8f5d
commit 94d97fe290

View File

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