php: Add xsl optional support
Use an override with xsl = true to enable xsl support in php.
This commit is contained in:
parent
76a5e89a1c
commit
b42ba898e1
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
|
{ stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
|
||||||
, apacheHttpd, mysql, libxml2, readline, zlib, curl, gd, postgresql, gettext
|
, 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 {
|
composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
|
||||||
|
|
||||||
@ -110,6 +111,11 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
|||||||
buildInputs = [gettext];
|
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.
|
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.
|
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;
|
opensslSupport = config.php.openssl or true;
|
||||||
mbstringSupport = config.php.mbstring or true;
|
mbstringSupport = config.php.mbstring or true;
|
||||||
gdSupport = config.php.gd or true;
|
gdSupport = config.php.gd or true;
|
||||||
|
xslSupport = config.php.xsl or false;
|
||||||
};
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user