diff options
author | John Wiegley <johnw@newartisans.com> | 2015-05-21 12:41:57 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-05-21 12:42:06 -0500 |
commit | 5ac9e87b1bf7192d2077f90940906a9e5518ccf3 (patch) | |
tree | b391188e81bda9d52cbf754c22ab931c41b2d844 /pkgs/servers | |
parent | 4e838ed30352bca8708db14e25808da022e51e1f (diff) | |
download | nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.tar nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.tar.gz nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.tar.bz2 nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.tar.lz nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.tar.xz nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.tar.zst nixlib-5ac9e87b1bf7192d2077f90940906a9e5518ccf3.zip |
nginx: Fix build for Darwin (no AIO there)
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/http/nginx/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/servers/http/nginx/default.nix b/pkgs/servers/http/nginx/default.nix index fe500bf34628..de964f1776ac 100644 --- a/pkgs/servers/http/nginx/default.nix +++ b/pkgs/servers/http/nginx/default.nix @@ -102,9 +102,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-select_module" "--with-poll_module" - "--with-aio_module" "--with-threads" - "--with-file-aio" "--with-http_ssl_module" "--with-http_spdy_module" "--with-http_realip_module" @@ -133,7 +131,8 @@ stdenv.mkDerivation rec { ++ optional echo "--add-module=${echo-ext}" ++ optional ngx_lua "--add-module=${develkit-ext} --add-module=${lua-ext}" ++ optional set_misc "--add-module=${set-misc-ext}" - ++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio" + ++ optionals (elem stdenv.system (with platforms; linux ++ freebsd)) + [ "--with-file-aio" "--with-aio_module" ] ++ optional fluent "--add-module=${fluentd}"; |