From 94d97fe290b4d7d9401573cc57a89b3a9b7d3ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Thu, 28 Jun 2018 01:30:51 +0200 Subject: [PATCH] nginx: Add `withDebug` argument --- pkgs/servers/http/nginx/generic.nix | 3 +++ 1 file changed, 3 insertions(+) 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"