diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2022-12-23 00:47:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 00:47:30 +0100 |
commit | 0ed43cb857f59abfffebda87d8dbfe9ccb4b0256 (patch) | |
tree | 275f0fb6622c2df941e1f38b61dcb06060faa9d5 /pkgs/servers | |
parent | e2e8dfcf44bfac85b9a61a8a21a10244c307e23f (diff) | |
parent | 9105bfd039e6c19f689ae3a876c5b2978ed23836 (diff) |
Merge pull request #201789 from RaitoBezarius/nginx-with-slice
nginx: expose ngx_http_slice_module through "withSlice"
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/http/nginx/generic.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index 5bc2cbca3bd7e..06fa12725674e 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -8,6 +8,7 @@ outer@{ lib, stdenv, fetchurl, fetchpatch, openssl, zlib, pcre, libxml2, libxslt , withStream ? true , withMail ? false , withPerl ? true +, withSlice ? false , modules ? [] , ... }: @@ -109,7 +110,7 @@ stdenv.mkDerivation { "--with-http_perl_module" "--with-perl=${perl}/bin/perl" "--with-perl_modules_path=lib/perl5" - ] + ] ++ optional withSlice "--with-http_slice_module" ++ optional (gd != null) "--with-http_image_filter_module" ++ optional (geoip != null) "--with-http_geoip_module" ++ optional (withStream && geoip != null) "--with-stream_geoip_module" |