From 96f4758d098e0bf1cfb3e64111cb5b07fe582da0 Mon Sep 17 00:00:00 2001 From: Longrin Wischnewski Date: Thu, 18 Dec 2014 09:04:26 +0100 Subject: [PATCH] php: make curl wrappers optional cURL wrappers are experimental and break any application/library that rely on $http_response_header --- pkgs/development/interpreters/php/5.4.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/php/5.4.nix b/pkgs/development/interpreters/php/5.4.nix index 9c4d1563a61..a5fbac680f9 100644 --- a/pkgs/development/interpreters/php/5.4.nix +++ b/pkgs/development/interpreters/php/5.4.nix @@ -41,10 +41,14 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) }; curl = { - configureFlags = ["--with-curl=${curl}" "--with-curlwrappers"]; + configureFlags = ["--with-curl=${curl}"]; buildInputs = [curl openssl]; }; + curlWrappers = { + configureFlags = ["--with-curlwrappers"]; + }; + zlib = { configureFlags = ["--with-zlib=${zlib}"]; buildInputs = [zlib]; @@ -199,6 +203,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed) bcmathSupport = config.php.bcmath or true; socketsSupport = config.php.sockets or true; curlSupport = config.php.curl or true; + curlWrappersSupport = config.php.curlWrappers or false; gettextSupport = config.php.gettext or true; pcntlSupport = config.php.pcntl or true; postgresqlSupport = config.php.postgresql or true;