diff options
author | Marc Weber <marco-oweber@gmx.de> | 2009-10-23 08:56:46 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2009-10-23 08:56:46 +0000 |
commit | 8f588a421db69a130d917015bd7fc2234050ee22 (patch) | |
tree | 0a4678399d4788e45cb4bdd492ab9712625686e5 /pkgs/development/interpreters/php_configurable/default.nix | |
parent | a565a82e4e6d1cde94c449cd157fc4cb6f97ba8a (diff) | |
download | nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.tar nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.tar.gz nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.tar.bz2 nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.tar.lz nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.tar.xz nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.tar.zst nixpkgs-8f588a421db69a130d917015bd7fc2234050ee22.zip |
really fix php xdebug
svn path=/nixpkgs/trunk/; revision=17936
Diffstat (limited to 'pkgs/development/interpreters/php_configurable/default.nix')
-rw-r--r-- | pkgs/development/interpreters/php_configurable/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/php_configurable/default.nix b/pkgs/development/interpreters/php_configurable/default.nix index df54ed1b66c..40ace5c5af6 100644 --- a/pkgs/development/interpreters/php_configurable/default.nix +++ b/pkgs/development/interpreters/php_configurable/default.nix @@ -96,7 +96,10 @@ composableDerivation {} ( fixed : { }; /* - Building xdebug withing php to be able to add the parameters to the ini file.. Ther should be a better way + php is build within this derivation in order to add the xdebug lines to the php.ini. + So both Apache and command line php both use xdebug without having to configure anything. + Xdebug could be put in its own derivation. + */ meta = { description = "debugging support for PHP"; homepage = http://xdebug.org; @@ -147,7 +150,7 @@ composableDerivation {} ( fixed : { # Now Let's build xdebug if flag has been given # TODO I think there are better paths than the given below - if [ -n "$flag_set_xdebug" ]; then + if [ -n "$xdebug_src" ]; then PATH=$PATH:$out/bin tar xfz $xdebug_src; cd xdebug* |