diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-09-23 16:18:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 16:18:43 +0100 |
commit | a326da978f856650d9655f4cd7fff247c684dab4 (patch) | |
tree | 0fad4779acb524ad241d30ae608e189d62ba6667 /pkgs | |
parent | 344e6e229c29347db5a7fab07ee8392387adfc17 (diff) | |
parent | baa04e4204b80225c5086611f305a0c412dc9967 (diff) | |
download | nixlib-a326da978f856650d9655f4cd7fff247c684dab4.tar nixlib-a326da978f856650d9655f4cd7fff247c684dab4.tar.gz nixlib-a326da978f856650d9655f4cd7fff247c684dab4.tar.bz2 nixlib-a326da978f856650d9655f4cd7fff247c684dab4.tar.lz nixlib-a326da978f856650d9655f4cd7fff247c684dab4.tar.xz nixlib-a326da978f856650d9655f4cd7fff247c684dab4.tar.zst nixlib-a326da978f856650d9655f4cd7fff247c684dab4.zip |
Merge pull request #47220 from flokli/php-mysql-sock
php: set mysql socket path if mysql[i] or pdo_mysql support is enabled
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/interpreters/php/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 5af569a5e7c8..67c38a354b43 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -133,6 +133,7 @@ let ++ optionals mysqliSupport [ "--with-mysqli=${if mysqlndSupport then "mysqlnd" else "${mysql.connector-c}/bin/mysql_config"}" ] + ++ optional ( pdo_mysqlSupport || mysqlSupport || mysqliSupport ) "--with-mysql-sock=/run/mysqld/mysqld.sock" ++ optional bcmathSupport "--enable-bcmath" # FIXME: Our own gd package doesn't work, see https://bugs.php.net/bug.php?id=60108. ++ optionals gdSupport [ |