summary refs log tree commit diff
path: root/pkgs/development/interpreters/php/5.3.nix
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-05-03 08:25:45 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-05-03 08:25:45 +0000
commit590bf722b4d1b25d83b93a14c977346779cbbec2 (patch)
treecab67e111529a031b1d87a39bedd83b4fb0adb03 /pkgs/development/interpreters/php/5.3.nix
parent26da7d387172873e71ff02a23691fedefec03006 (diff)
downloadnixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.tar
nixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.tar.gz
nixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.tar.bz2
nixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.tar.lz
nixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.tar.xz
nixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.tar.zst
nixpkgs-590bf722b4d1b25d83b93a14c977346779cbbec2.zip
Adding readline to php, so now 'php -a' works nicely with readline.
svn path=/nixpkgs/trunk/; revision=27110
Diffstat (limited to 'pkgs/development/interpreters/php/5.3.nix')
-rw-r--r--pkgs/development/interpreters/php/5.3.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/php/5.3.nix b/pkgs/development/interpreters/php/5.3.nix
index 1037d00f270..d34e4f6cc04 100644
--- a/pkgs/development/interpreters/php/5.3.nix
+++ b/pkgs/development/interpreters/php/5.3.nix
@@ -45,6 +45,11 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
         buildInputs = [ libxml2 ];
       };
     
+      readline = {
+        configureFlags = ["--with-readline=${readline}"];
+        buildInputs = [ readline ];
+      };
+
       sqlite = {
         configureFlags = ["--with-pdo-sqlite=${sqlite}"];
         buildInputs = [ sqlite ];
@@ -126,6 +131,7 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
     curlSupport = getConfig ["php" "curl"] true;
     gettextSupport = getConfig ["php" "gettext"] true;
     postgresqlSupport = getConfig ["php" "postgresql"] true;
+    readlineSupport = getConfig ["php" "readline"] true;
     sqliteSupport = getConfig ["php" "sqlite"] true;
     soapSupport = getConfig ["php" "soap"] true;
     zlibSupport = getConfig ["php" "zlib"] true;