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:
@@ -1,6 +1,6 @@
|
||||
# pcre functionality is tested in nixos/tests/php-pcre.nix
|
||||
{ lib, stdenv, fetchurl, autoconf, bison, libtool, pkgconfig, re2c
|
||||
, libmysqlclient, libxml2, readline, zlib, curl, postgresql, gettext
|
||||
, mysql, libxml2, readline, zlib, curl, postgresql, gettext
|
||||
, openssl, pcre, pcre2, sqlite, config, libjpeg, libpng, freetype
|
||||
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, unixODBC
|
||||
, uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, html-tidy, libargon2
|
||||
@@ -64,7 +64,7 @@ let
|
||||
}:
|
||||
|
||||
let
|
||||
mysqlBuildInputs = optional (!mysqlndSupport) libmysqlclient;
|
||||
mysqlBuildInputs = optional (!mysqlndSupport) mysql.connector-c;
|
||||
libmcrypt' = libmcrypt.override { disablePosixThreads = true; };
|
||||
in stdenv.mkDerivation {
|
||||
|
||||
@@ -149,9 +149,9 @@ let
|
||||
++ optional postgresqlSupport "--with-pgsql=${postgresql}"
|
||||
++ optional pdo_odbcSupport "--with-pdo-odbc=unixODBC,${unixODBC}"
|
||||
++ optional pdo_pgsqlSupport "--with-pdo-pgsql=${postgresql}"
|
||||
++ optional pdo_mysqlSupport "--with-pdo-mysql=${if mysqlndSupport then "mysqlnd" else libmysqlclient}"
|
||||
++ optional pdo_mysqlSupport "--with-pdo-mysql=${if mysqlndSupport then "mysqlnd" else mysql.connector-c}"
|
||||
++ optionals mysqliSupport [
|
||||
"--with-mysqli=${if mysqlndSupport then "mysqlnd" else "${libmysqlclient}/bin/mysql_config"}"
|
||||
"--with-mysqli=${if mysqlndSupport then "mysqlnd" else "${mysql.connector-c}/bin/mysql_config"}"
|
||||
]
|
||||
++ optional ( pdo_mysqlSupport || mysqliSupport ) "--with-mysql-sock=/run/mysqld/mysqld.sock"
|
||||
++ optional bcmathSupport "--enable-bcmath"
|
||||
|
||||
Reference in New Issue
Block a user