Revert "Merge branch 'staging-next'"
This reverts commit41af38f372, reversing changes made tof0fec244ca. Let's delay this. We have some serious regressions.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
, buildPackages
|
||||
, withLDAP ? true, openldap
|
||||
, withPgSQL ? false, postgresql
|
||||
, withMySQL ? false, libmysqlclient
|
||||
, withMySQL ? false, mysql
|
||||
, withSQLite ? false, sqlite
|
||||
}:
|
||||
|
||||
@@ -12,7 +12,7 @@ let
|
||||
"-DUSE_TLS" "-DUSE_SASL_AUTH" "-DUSE_CYRUS_SASL" "-I${cyrus_sasl.dev}/include/sasl"
|
||||
"-DHAS_DB_BYPASS_MAKEDEFS_CHECK"
|
||||
] ++ lib.optional withPgSQL "-DHAS_PGSQL"
|
||||
++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${libmysqlclient}/include/mysql" "-L${libmysqlclient}/lib/mysql" ]
|
||||
++ lib.optionals withMySQL [ "-DHAS_MYSQL" "-I${mysql.connector-c}/include/mysql" "-L${mysql.connector-c}/lib/mysql" ]
|
||||
++ lib.optional withSQLite "-DHAS_SQLITE"
|
||||
++ lib.optionals withLDAP ["-DHAS_LDAP" "-DUSE_LDAP_SASL"]);
|
||||
auxlibs = lib.concatStringsSep " " ([
|
||||
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper m4 ];
|
||||
buildInputs = [ db openssl cyrus_sasl icu libnsl pcre ]
|
||||
++ lib.optional withPgSQL postgresql
|
||||
++ lib.optional withMySQL libmysqlclient
|
||||
++ lib.optional withMySQL mysql.connector-c
|
||||
++ lib.optional withSQLite sqlite
|
||||
++ lib.optional withLDAP openldap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user