diff --git a/pkgs/by-name/pe/petsc/package.nix b/pkgs/by-name/pe/petsc/package.nix index 92af728022bd..e05d85d7f2a2 100644 --- a/pkgs/by-name/pe/petsc/package.nix +++ b/pkgs/by-name/pe/petsc/package.nix @@ -237,6 +237,8 @@ stdenv.mkDerivation (finalAttrs: { ) finalAttrs.buildInputs ); + __darwinAllowLocalNetworking = true; + # This is needed as the checks need to compile and link the test cases with # -lpetsc, which is not available in the checkPhase, which is executed before # the installPhase. The installCheckPhase comes after the installPhase, so