Merge pull request #5383 from robberer/tmp1

php: make curl wrappers optional
This commit is contained in:
wmertens 2014-12-18 17:49:10 +01:00
commit 6fa7ea0537

View File

@ -41,10 +41,14 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
}; };
curl = { curl = {
configureFlags = ["--with-curl=${curl}" "--with-curlwrappers"]; configureFlags = ["--with-curl=${curl}"];
buildInputs = [curl openssl]; buildInputs = [curl openssl];
}; };
curlWrappers = {
configureFlags = ["--with-curlwrappers"];
};
zlib = { zlib = {
configureFlags = ["--with-zlib=${zlib}"]; configureFlags = ["--with-zlib=${zlib}"];
buildInputs = [zlib]; buildInputs = [zlib];
@ -199,6 +203,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
bcmathSupport = config.php.bcmath or true; bcmathSupport = config.php.bcmath or true;
socketsSupport = config.php.sockets or true; socketsSupport = config.php.sockets or true;
curlSupport = config.php.curl or true; curlSupport = config.php.curl or true;
curlWrappersSupport = config.php.curlWrappers or false;
gettextSupport = config.php.gettext or true; gettextSupport = config.php.gettext or true;
pcntlSupport = config.php.pcntl or true; pcntlSupport = config.php.pcntl or true;
postgresqlSupport = config.php.postgresql or true; postgresqlSupport = config.php.postgresql or true;