From 20bb2242ed8c61915b2459cf3e271b7d6e199a91 Mon Sep 17 00:00:00 2001 From: qbisi Date: Fri, 2 May 2025 01:59:40 +0800 Subject: [PATCH] petsc: add __darwinAllowLocalNetworking = true to support mpiCheck --- pkgs/by-name/pe/petsc/package.nix | 2 ++ 1 file changed, 2 insertions(+) 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