about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2008-02-10 17:39:25 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2008-02-10 17:39:25 +0000
commit07da3cba4c91fdf1b4899284f0d7145766e89454 (patch)
tree02b23090b29fb6e24d0f496a7e9d5f2a70c7a48a
parent520452ae4ff3672afe47cb76acb412bb32537bf2 (diff)
downloadnixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.tar
nixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.tar.gz
nixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.tar.bz2
nixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.tar.lz
nixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.tar.xz
nixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.tar.zst
nixlib-07da3cba4c91fdf1b4899284f0d7145766e89454.zip
PHP now with postgresql support
svn path=/nixpkgs/branches/stdenv-updates/; revision=10591
-rw-r--r--pkgs/development/interpreters/php_configurable/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/php_configurable/default.nix b/pkgs/development/interpreters/php_configurable/default.nix
index 35583c9d37e9..6b755066359b 100644
--- a/pkgs/development/interpreters/php_configurable/default.nix
+++ b/pkgs/development/interpreters/php_configurable/default.nix
@@ -418,6 +418,8 @@ args:
           no_libxml2    =     { cfgOption =  "--disable-libxml";
                               };
 
+          postgresql   =      { cfgOption = "--with-pgsql=\$postgresql";
+                                pass = { inherit (args) postgresql;}; };
           mysql        =      { cfgOption = "--with-mysql=\$mysql";
                                 pass = { inherit (args) mysql;}; };
 
@@ -457,7 +459,7 @@ args:
     };
 
   defaults = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
-  optionals = [ "libxml2" "gettext" ];
+  optionals = [ "libxml2" "gettext" "postgresql"];
 
   # Don't konw wether they should be default.. I use them - Marc