From da501f8808fe057915ab07af527589367b30cdfd Mon Sep 17 00:00:00 2001 From: Alex Wied Date: Wed, 24 Aug 2022 23:22:45 -0400 Subject: [PATCH] haskellPackages.streaming-commons: Fix sandboxed build on Darwin --- pkgs/development/haskell-modules/configuration-darwin.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index fd632ee81f829..2ebfdb4a8841e 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -18,6 +18,10 @@ self: super: ({ __darwinAllowLocalNetworking = true; }); + streaming-commons = super.streaming-commons.overrideAttrs (_: { + __darwinAllowLocalNetworking = true; + }); + halive = addBuildDepend darwin.apple_sdk.frameworks.AppKit super.halive; # Hakyll's tests are broken on Darwin (3 failures); and they require util-linux