mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
Merge pull request #215004 from LeSuisse/php-extensions-allow-local-network-darwin
phpExtensions.opcache: fix test environment for darwin
This commit is contained in:
commit
a1f39348ee
@ -84,6 +84,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
, zendExtension ? false
|
, zendExtension ? false
|
||||||
, doCheck ? true
|
, doCheck ? true
|
||||||
, extName ? name
|
, extName ? name
|
||||||
|
, allowLocalNetworking ? false
|
||||||
, ...
|
, ...
|
||||||
}@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // {
|
}@args: stdenv.mkDerivation ((builtins.removeAttrs args [ "name" ]) // {
|
||||||
pname = "php-${name}";
|
pname = "php-${name}";
|
||||||
@ -103,6 +104,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
];
|
];
|
||||||
|
|
||||||
inherit configureFlags internalDeps buildInputs zendExtension doCheck;
|
inherit configureFlags internalDeps buildInputs zendExtension doCheck;
|
||||||
|
__darwinAllowLocalNetworking = allowLocalNetworking;
|
||||||
|
|
||||||
preConfigurePhases = [
|
preConfigurePhases = [
|
||||||
"cdToExtensionRootPhase"
|
"cdToExtensionRootPhase"
|
||||||
@ -412,7 +414,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
];
|
];
|
||||||
zendExtension = true;
|
zendExtension = true;
|
||||||
# Tests launch the builtin webserver.
|
# Tests launch the builtin webserver.
|
||||||
__darwinAllowLocalNetworking = true;
|
allowLocalNetworking = true;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "openssl";
|
name = "openssl";
|
||||||
|
Loading…
Reference in New Issue
Block a user