mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
haskellPackages.conduit-extra: fix darwin sandbox build
The tests depend on localhost networking and get stuck otherwise.
This commit is contained in:
parent
0ac83f0857
commit
34726a8139
@ -151,6 +151,10 @@ self: super: {
|
||||
# dontCheck due to https://github.com/haskell/vector/issues/138
|
||||
vector = dontCheck (if pkgs.stdenv.isi686 then appendConfigureFlag super.vector "--ghc-options=-msse2" else super.vector);
|
||||
|
||||
conduit-extra = if pkgs.stdenv.isDarwin
|
||||
then super.conduit-extra.overrideAttrs (drv: { __darwinAllowLocalNetworking = true; })
|
||||
else super.conduit-extra;
|
||||
|
||||
# Fix Darwin build.
|
||||
halive = if pkgs.stdenv.isDarwin
|
||||
then addBuildDepend super.halive pkgs.darwin.apple_sdk.frameworks.AppKit
|
||||
|
Loading…
Reference in New Issue
Block a user