From 79f92f00f928da0db6f48eec45f6bb45661ac21e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 1 Oct 2016 11:11:11 +0200 Subject: [PATCH] haskell-vector: jailbreak to fix test suite build --- pkgs/development/haskell-modules/configuration-common.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8e5415ca4ab..a130772297c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -160,8 +160,10 @@ self: super: { ABList = dontCheck super.ABList; # https://github.com/haskell/vector/issues/47 - vector = if pkgs.stdenv.isi686 then appendConfigureFlag super.vector "--ghc-options=-msse2" else super.vector; + # https://github.com/haskell/vector/issues/138 + vector = doJailbreak (if pkgs.stdenv.isi686 then appendConfigureFlag super.vector "--ghc-options=-msse2" else super.vector); + # Fix Darwin build. halive = if pkgs.stdenv.isDarwin then addBuildDepend super.halive pkgs.darwin.apple_sdk.frameworks.AppKit else super.halive;