haskellPackages.network: allow local networking on Darwin

Otherwise `checkPhase` fails with the sandboxing enabled:
https://gist.github.com/al3xtjames/ff511f36890388345d51a410a2fc18f9
This commit is contained in:
Alex James
2025-05-10 21:23:38 -05:00
parent 07639776ae
commit f21f973686
@@ -331,6 +331,10 @@ self: super:
sysinfo = dontCheck super.sysinfo;
network = super.network.overrideAttrs (drv: {
__darwinAllowLocalNetworking = true;
});
}
// lib.optionalAttrs pkgs.stdenv.hostPlatform.isAarch64 {
# aarch64-darwin