about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:48:30 +0400
committerMichael Raskin <7c6f434c@mail.ru>2014-08-23 12:48:30 +0400
commita2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9 (patch)
tree82b8b7c06e0bbaa02af2cfe5b6ec349cb24d136e /pkgs
parent2991b5a2f373a165b2c36fdd98ea7ec3559f3832 (diff)
parent5ec563707cd7ae3a1c345cb1fa9b6696d1de4907 (diff)
downloadnixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.tar
nixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.tar.gz
nixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.tar.bz2
nixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.tar.lz
nixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.tar.xz
nixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.tar.zst
nixlib-a2f96adb3dddc66d51ce78ad20d8d5bb5204fdc9.zip
Merge pull request #3549 from pmahoney/php-pdo-pgsql
php: Compile pdo_pgsql support
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/interpreters/php/5.4.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/php/5.4.nix b/pkgs/development/interpreters/php/5.4.nix
index bc5320ff77c0..e5069fc2ae46 100644
--- a/pkgs/development/interpreters/php/5.4.nix
+++ b/pkgs/development/interpreters/php/5.4.nix
@@ -77,6 +77,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
         buildInputs = [ postgresql ];
       };
 
+      pdo_pgsql = {
+        configureFlags = ["--with-pdo-pgsql=${postgresql}"];
+        buildInputs = [ postgresql ];
+      };
+
       mysql = {
         configureFlags = ["--with-mysql=${mysql}"];
         buildInputs = [ mysql ];
@@ -203,6 +208,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
     gettextSupport = config.php.gettext or true;
     pcntlSupport = config.php.pcntl or true;
     postgresqlSupport = config.php.postgresql or true;
+    pdo_pgsqlSupport = config.php.pdo_pgsql or true;
     readlineSupport = config.php.readline or true;
     sqliteSupport = config.php.sqlite or true;
     soapSupport = config.php.soap or true;