php80: fix on darwin

This commit is contained in:
Stéphan Kochen 2021-03-09 08:39:43 +01:00
parent daff1f8858
commit da049ba377

View File

@ -399,7 +399,7 @@ lib.makeScope pkgs.newScope (self: with self; {
# oci8 (7.4, 7.3, 7.2)
# odbc (7.4, 7.3, 7.2)
{ name = "opcache";
buildInputs = [ pcre' ] ++ lib.optionals (lib.versionAtLeast php.version "8.0") [
buildInputs = [ pcre' ] ++ lib.optionals (!stdenv.isDarwin && lib.versionAtLeast php.version "8.0") [
valgrind.dev
];
patches = lib.optionals (lib.versionOlder php.version "7.4") [
@ -419,7 +419,9 @@ lib.makeScope pkgs.newScope (self: with self; {
#include "zend_accelerator_util_funcs.h"
'') ];
zendExtension = true;
doCheck = !(lib.versionOlder php.version "7.4"); }
doCheck = !(lib.versionOlder php.version "7.4");
# Tests launch the builtin webserver.
__darwinAllowLocalNetworking = true; }
{ name = "openssl";
buildInputs = [ openssl ];
configureFlags = [ "--with-openssl" ];