petsc: add __darwinAllowLocalNetworking = true to support mpiCheck

This commit is contained in:
qbisi
2025-05-02 01:59:40 +08:00
parent 57c7aea64d
commit 20bb2242ed
+2
View File
@@ -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