dovecot: disable lua if !withLua
This commit is contained in:
@@ -168,6 +168,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-lucene"
|
||||
"--with-icu"
|
||||
"--with-textcat"
|
||||
"--with-lua=${lib.boolToYesNo withLua}"
|
||||
]
|
||||
++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"i_cv_epoll_works=${lib.boolToYesNo stdenv.hostPlatform.isLinux}"
|
||||
@@ -189,7 +190,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin "--enable-static"
|
||||
++ lib.optional withLDAP "--with-ldap"
|
||||
++ lib.optional withPCRE2 "--with-pcre2"
|
||||
++ lib.optional withLua "--with-lua"
|
||||
++ lib.optional withMySQL "--with-mysql"
|
||||
++ lib.optional withPgSQL "--with-pgsql"
|
||||
++ lib.optional withSQLite "--with-sqlite";
|
||||
|
||||
Reference in New Issue
Block a user