Adding readline to php, so now 'php -a' works nicely with readline.

svn path=/nixpkgs/trunk/; revision=27110
This commit is contained in:
Lluís Batlle i Rossell 2011-05-03 08:25:45 +00:00
parent 26da7d3871
commit 590bf722b4
3 changed files with 14 additions and 2 deletions

View File

@ -45,6 +45,11 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
buildInputs = [ libxml2 ]; buildInputs = [ libxml2 ];
}; };
readline = {
configureFlags = ["--with-readline=${readline}"];
buildInputs = [ readline ];
};
sqlite = { sqlite = {
configureFlags = ["--with-pdo-sqlite=${sqlite}"]; configureFlags = ["--with-pdo-sqlite=${sqlite}"];
buildInputs = [ sqlite ]; buildInputs = [ sqlite ];
@ -126,6 +131,7 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
curlSupport = getConfig ["php" "curl"] true; curlSupport = getConfig ["php" "curl"] true;
gettextSupport = getConfig ["php" "gettext"] true; gettextSupport = getConfig ["php" "gettext"] true;
postgresqlSupport = getConfig ["php" "postgresql"] true; postgresqlSupport = getConfig ["php" "postgresql"] true;
readlineSupport = getConfig ["php" "readline"] true;
sqliteSupport = getConfig ["php" "sqlite"] true; sqliteSupport = getConfig ["php" "sqlite"] true;
soapSupport = getConfig ["php" "soap"] true; soapSupport = getConfig ["php" "soap"] true;
zlibSupport = getConfig ["php" "zlib"] true; zlibSupport = getConfig ["php" "zlib"] true;

View File

@ -45,6 +45,11 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
buildInputs = [ libxml2 ]; buildInputs = [ libxml2 ];
}; };
readline = {
configureFlags = ["--with-readline=${readline}"];
buildInputs = [ readline ];
};
sqlite = { sqlite = {
configureFlags = ["--with-pdo-sqlite=${sqlite}"]; configureFlags = ["--with-pdo-sqlite=${sqlite}"];
buildInputs = [ sqlite ]; buildInputs = [ sqlite ];
@ -126,6 +131,7 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
curlSupport = getConfig ["php" "curl"] true; curlSupport = getConfig ["php" "curl"] true;
gettextSupport = getConfig ["php" "gettext"] true; gettextSupport = getConfig ["php" "gettext"] true;
postgresqlSupport = getConfig ["php" "postgresql"] true; postgresqlSupport = getConfig ["php" "postgresql"] true;
readlineSupport = getConfig ["php" "readline"] true;
sqliteSupport = getConfig ["php" "sqlite"] true; sqliteSupport = getConfig ["php" "sqlite"] true;
soapSupport = getConfig ["php" "soap"] true; soapSupport = getConfig ["php" "soap"] true;
zlibSupport = getConfig ["php" "zlib"] true; zlibSupport = getConfig ["php" "zlib"] true;

View File

@ -2363,14 +2363,14 @@ let
php5_2 = makeOverridable (import ../development/interpreters/php/5.2.nix) { php5_2 = makeOverridable (import ../development/interpreters/php/5.2.nix) {
inherit inherit
stdenv fetchurl lib composableDerivation autoconf automake stdenv fetchurl lib composableDerivation autoconf automake
flex bison apacheHttpd mysql libxml2 flex bison apacheHttpd mysql libxml2 readline
zlib curl gd postgresql openssl pkgconfig sqlite getConfig libiconv libjpeg libpng; zlib curl gd postgresql openssl pkgconfig sqlite getConfig libiconv libjpeg libpng;
}; };
php5_3 = makeOverridable (import ../development/interpreters/php/5.3.nix) { php5_3 = makeOverridable (import ../development/interpreters/php/5.3.nix) {
inherit inherit
stdenv fetchurl lib composableDerivation autoconf automake stdenv fetchurl lib composableDerivation autoconf automake
flex bison apacheHttpd mysql libxml2 flex bison apacheHttpd mysql libxml2 readline
zlib curl gd postgresql openssl pkgconfig sqlite getConfig libiconv libjpeg libpng; zlib curl gd postgresql openssl pkgconfig sqlite getConfig libiconv libjpeg libpng;
}; };