nginx: add an option to build the stream module

+3 -1
+3 -1
pkgs/servers/http/nginx/unstable.nix
··· 5 5 , syslog ? false 6 6 , moreheaders ? false 7 7 , echo ? false 8 - , ngx_lua ? false }: 8 + , ngx_lua ? false 9 + , withStream ? false }: 9 10 10 11 with stdenv.lib; 11 12 ··· 109 110 ++ optional moreheaders "--add-module=${moreheaders-ext}" 110 111 ++ optional echo "--add-module=${echo-ext}" 111 112 ++ optional ngx_lua "--add-module=${develkit-ext} --add-module=${lua-ext}" 113 + ++ optional withStream "--with-stream" 112 114 ++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"; 113 115 114 116