treewide: configureFlags is a flat list

This commit is contained in:
Robin Gloster
2019-12-31 01:37:49 +01:00
committed by Jan Tojnar
parent e9c27ed5f9
commit 6ca6ac796b
18 changed files with 39 additions and 50 deletions
+5 -5
View File
@@ -53,23 +53,23 @@ stdenv.mkDerivation rec {
"--with-poll_module"
"--with-google_perftools_module"
"--with-jemalloc"
] ++ optional withDebug [
] ++ optionals withDebug [
"--with-debug"
] ++ optional withMail [
] ++ optionals withMail [
"--with-mail"
"--with-mail_ssl_module"
] ++ optional (!withMail) [
] ++ optionals (!withMail) [
"--without-mail_pop3_module"
"--without-mail_imap_module"
"--without-mail_smtp_module"
] ++ optional withStream [
] ++ optionals withStream [
"--with-stream"
"--with-stream_ssl_module"
"--with-stream_realip_module"
"--with-stream_geoip_module"
"--with-stream_ssl_preread_module"
"--with-stream_sni"
] ++ optional (!withStream) [
] ++ optionals (!withStream) [
"--without-stream_limit_conn_module"
"--without-stream_access_module"
"--without-stream_geo_module"