Skip to content

Commit

Permalink
phpExtensions.opcache: fix test environment for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed Feb 6, 2023
1 parent 1c595e2 commit e3bec64
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 @@ -84,6 +84,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 @@ -103,6 +104,7 @@ lib.makeScope pkgs.newScope (self: with self; {
];

inherit configureFlags internalDeps buildInputs zendExtension doCheck;
__darwinAllowLocalNetworking = allowLocalNetworking;

preConfigurePhases = [
"cdToExtensionRootPhase"
Expand Down Expand Up @@ -412,7 +414,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 e3bec64

Please sign in to comment.