about summary refs log tree commit diff
path: root/pkgs/servers/http/nginx
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2018-06-28 01:30:51 +0200
committerNiklas Hambüchen <mail@nh2.me>2018-06-28 01:35:41 +0200
commit94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4 (patch)
treebbefa7a2464c74a0e6afb5b08e87c3896be66f1c /pkgs/servers/http/nginx
parent3688ab8f5d524cd54fd3f4e3d820d82f77f2940d (diff)
downloadnixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.tar
nixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.tar.gz
nixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.tar.bz2
nixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.tar.lz
nixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.tar.xz
nixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.tar.zst
nixlib-94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4.zip
nginx: Add `withDebug` argument
Diffstat (limited to 'pkgs/servers/http/nginx')
-rw-r--r--pkgs/servers/http/nginx/generic.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix
index ff0a4c65b4a6..1a934195c632 100644
--- a/pkgs/servers/http/nginx/generic.nix
+++ b/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"