Skip to content

Commit

Permalink
Merge pull request #215220 from NixOS/backport-215004-to-release-22.11
Browse files Browse the repository at this point in the history
[Backport release-22.11] phpExtensions.opcache: fix test environment for darwin
  • Loading branch information
NickCao authored Feb 8, 2023
2 parents 4123335 + 6a4277c commit 4994f4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/top-level/php-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ lib.makeScope pkgs.newScope (self: with self; {
, zendExtension ? false
, doCheck ? true
, extName ? name
, allowLocalNetworking ? false
, ...
}@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // {
pname = "php-${name}";
Expand All @@ -99,6 +100,7 @@ lib.makeScope pkgs.newScope (self: with self; {
];

inherit configureFlags internalDeps buildInputs zendExtension doCheck;
__darwinAllowLocalNetworking = allowLocalNetworking;

preConfigurePhases = [
"cdToExtensionRootPhase"
Expand Down Expand Up @@ -408,7 +410,7 @@ lib.makeScope pkgs.newScope (self: with self; {
];
zendExtension = true;
# Tests launch the builtin webserver.
__darwinAllowLocalNetworking = true;
allowLocalNetworking = true;
}
{
name = "openssl";
Expand Down

0 comments on commit 4994f4b

Please sign in to comment.