Merge pull request #89344 from JJJollyjim/openresty-no-perl

openresty: disable perl module by default
This commit is contained in:
Michael Raskin
2020-06-20 18:45:44 +00:00
committed by GitHub
5 changed files with 43 additions and 4 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
, withDebug ? false
, withStream ? true
, withMail ? false
, withPerl ? true
, modules ? []
, ...
}:
@@ -87,7 +88,7 @@ stdenv.mkDerivation {
] ++ optionals withMail [
"--with-mail"
"--with-mail_ssl_module"
] ++ optional (perl != null) [
] ++ optionals withPerl [
"--with-http_perl_module"
"--with-perl=${perl}/bin/perl"
"--with-perl_modules_path=lib/perl5"
+2
View File
@@ -34,6 +34,8 @@ callPackage ../nginx/generic.nix args rec {
postInstall = ''
ln -s $out/luajit/bin/luajit-2.1.0-beta3 $out/bin/luajit-openresty
ln -s $out/nginx/sbin/nginx $out/bin/nginx
ln -s $out/nginx/conf $out/conf
ln -s $out/nginx/html $out/html
'';
meta = {