diff options
author | Aaron Andersen <aaron@fosslib.net> | 2019-02-18 07:57:39 -0500 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2019-02-18 08:09:20 -0500 |
commit | d5d0b4aceb75adb6032e6b5f7aad61bb218731a7 (patch) | |
tree | 39c3747771df38794e14a7bf989401b4cd893247 /pkgs/development | |
parent | 01d8894c4d0f7fdd4f3534e6268b8e4c503d7258 (diff) | |
download | nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.tar nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.tar.gz nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.tar.bz2 nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.tar.lz nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.tar.xz nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.tar.zst nixpkgs-d5d0b4aceb75adb6032e6b5f7aad61bb218731a7.zip |
php: add pdo odbc support
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/interpreters/php/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 39f8d251410..d26ad077c14 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -2,7 +2,7 @@ { lib, stdenv, fetchurl, flex, bison, autoconf , mysql, libxml2, readline, zlib, curl, postgresql, gettext , openssl, pcre, pcre2, pkgconfig, sqlite, config, libjpeg, libpng, freetype -, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash +, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, unixODBC , uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, html-tidy, libargon2, libzip }: @@ -28,6 +28,7 @@ let , curlSupport ? config.php.curl or true , gettextSupport ? config.php.gettext or true , pcntlSupport ? config.php.pcntl or true + , pdo_odbcSupport ? config.php.pdo_odbc or true , postgresqlSupport ? config.php.postgresql or true , pdo_pgsqlSupport ? config.php.pdo_pgsql or true , readlineSupport ? config.php.readline or true @@ -88,6 +89,7 @@ let ++ optional readlineSupport readline ++ optional sqliteSupport sqlite ++ optional postgresqlSupport postgresql + ++ optional pdo_odbcSupport unixODBC ++ optional pdo_pgsqlSupport postgresql ++ optional pdo_mysqlSupport mysqlBuildInputs ++ optional mysqliSupport mysqlBuildInputs @@ -141,6 +143,7 @@ let ++ optional readlineSupport "--with-readline=${readline.dev}" ++ optional sqliteSupport "--with-pdo-sqlite=${sqlite.dev}" ++ 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 mysql.connector-c}" ++ optionals mysqliSupport [ |