diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2019-02-14 20:06:09 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2019-02-14 20:06:09 +0100 |
commit | 34726a8139ecde1b1337d430d49ae57dea6ded8b (patch) | |
tree | 188cb9c6b4bf91e0ed26dccff0de1256921f01e2 /pkgs | |
parent | 0ac83f0857c2edfb79572361fb2673725ff762b3 (diff) | |
download | nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.tar nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.tar.gz nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.tar.bz2 nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.tar.lz nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.tar.xz nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.tar.zst nixpkgs-34726a8139ecde1b1337d430d49ae57dea6ded8b.zip |
haskellPackages.conduit-extra: fix darwin sandbox build
The tests depend on localhost networking and get stuck otherwise.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4391f7b6f46..e13f87ed6d6 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -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 |