3
0
Fork 0
forked from mirrors/nixpkgs

* Remove phpIniBuilder (obsolete).

svn path=/nixpkgs/trunk/; revision=20028
This commit is contained in:
Eelco Dolstra 2010-02-15 20:29:50 +00:00
parent d43afaf102
commit 822d59d4f9
2 changed files with 0 additions and 47 deletions

View file

@ -1,43 +0,0 @@
{runCommand, php, appendLines ? "", prefixPhpRecommended ? true} :
/*
NixOS: see apache-httpd/default.nix's phpIni option
to enable Xdebug append these lines:
''
zend_extension="${pkgs.phpXdebug}/lib/xdebug.so"
zend_extension_ts="${pkgs.phpXdebug}/lib/xdebug.so"
zend_extension_debug="${pkgs.phpXdebug}/lib/xdebug.so"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=0
xdebug.profiler_output_dir="/tmp/xdebug"
xdebug.remote_mode=req
''
to make php's mail() function work add
''
; Needed for PHP's mail() function.
sendmail_path = sendmail -t -i
''
*/
runCommand "php.ini"
{
inherit php appendLines prefixPhpRecommended;
}
''
[ -z "$prefixPhpRecommended" ] || {
{
echo "# PHP RECOMMENDED INI START"
cat $php/etc/php-recommended.ini
echo "# PHP RECOMMENDED INI END"
} >> $out
}
echo "$appendLines" >> $out
''

View file

@ -2560,10 +2560,6 @@ let
inherit stdenv fetchurl php autoconf automake;
};
phpIniBuilder = makeOverridable (import ../development/interpreters/php/ini-bulider.nix) {
inherit php runCommand;
};
pltScheme = builderDefsPackage (import ../development/interpreters/plt-scheme) {
inherit cairo fontconfig freetype libjpeg libpng openssl
perl mesa zlib which;