diff options
author | Baptist BENOIST <return_0@live.com> | 2013-02-10 18:29:08 +0100 |
---|---|---|
committer | Baptist BENOIST <return_0@live.com> | 2013-02-12 19:52:34 +0100 |
commit | b42ba898e13ba3f4650f8225785169294b11fe9a (patch) | |
tree | 36decbae92774b944894d4728a9b30b848cf68ab /pkgs/development/interpreters/php/5.3.nix | |
parent | 76a5e89a1c2720b86ccc8eebe90ee0c839264dbb (diff) | |
download | nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.tar nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.tar.gz nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.tar.bz2 nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.tar.lz nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.tar.xz nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.tar.zst nixpkgs-b42ba898e13ba3f4650f8225785169294b11fe9a.zip |
php: Add xsl optional support
Use an override with xsl = true to enable xsl support in php.
Diffstat (limited to 'pkgs/development/interpreters/php/5.3.nix')
-rw-r--r-- | pkgs/development/interpreters/php/5.3.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/php/5.3.nix b/pkgs/development/interpreters/php/5.3.nix index 014ce9d3b97..ff136329d60 100644 --- a/pkgs/development/interpreters/php/5.3.nix +++ b/pkgs/development/interpreters/php/5.3.nix @@ -1,6 +1,7 @@ { stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison , apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext -, openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng, freetype }: +, openssl, pkgconfig, sqlite, config, libiconv, libjpeg, libpng, freetype +, libxslt }: composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in { @@ -110,6 +111,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) buildInputs = [gettext]; }; + xsl = { + configureFlags = ["--with-xsl=${libxslt}"]; + buildInputs = [libxslt]; + }; + /* 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. @@ -141,6 +147,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) opensslSupport = config.php.openssl or true; mbstringSupport = config.php.mbstring or true; gdSupport = config.php.gd or true; + xslSupport = config.php.xsl or false; }; configurePhase = '' |