From a3775eb57d53a3113d226e5266b6f9df4971cfa3 Mon Sep 17 00:00:00 2001 From: Alexandre Esteves Date: Fri, 15 Nov 2024 23:31:22 +0000 Subject: [PATCH] haskellPackages: fix test suites on multiple stream libraries --- .../haskell-modules/configuration-darwin.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 1c432ce3c937..bf420a10ab95 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -331,6 +331,22 @@ self: super: ({ # Tests fail on macOS https://github.com/mrkkrp/zip/issues/112 zip = dontCheck super.zip; + http-streams = super.http-streams.overrideAttrs (drv: { + __darwinAllowLocalNetworking = true; + }); + + io-streams = super.io-streams.overrideAttrs (drv: { + __darwinAllowLocalNetworking = true; + }); + + io-streams-haproxy = super.io-streams-haproxy.overrideAttrs (drv: { + __darwinAllowLocalNetworking = true; + }); + + openssl-streams = super.openssl-streams.overrideAttrs (drv: { + __darwinAllowLocalNetworking = true; + }); + snap = super.snap.overrideAttrs (drv: { __darwinAllowLocalNetworking = true; });