about summary refs log tree commit diff
path: root/pkgs/development/interpreters/php
diff options
context:
space:
mode:
authorPatrick Mahoney <pat@polycrystal.org>2014-08-11 21:58:00 -0500
committerPatrick Mahoney <pat@polycrystal.org>2014-08-11 22:02:24 -0500
commit5ec563707cd7ae3a1c345cb1fa9b6696d1de4907 (patch)
tree23a4308edcdd65144a2732aee57c24f7348aeb97 /pkgs/development/interpreters/php
parent2e84472d60e9113159b8ffa7d544bef22b111c5d (diff)
downloadnixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.tar
nixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.tar.gz
nixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.tar.bz2
nixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.tar.lz
nixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.tar.xz
nixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.tar.zst
nixlib-5ec563707cd7ae3a1c345cb1fa9b6696d1de4907.zip
php: Compile pdo_pgsql support
Diffstat (limited to 'pkgs/development/interpreters/php')
-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;