summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-10-01 11:11:11 +0200
committerPeter Simons <simons@cryp.to>2016-10-02 23:44:00 +0200
commit79f92f00f928da0db6f48eec45f6bb45661ac21e (patch)
treec6c319db024b7357cb6cf6a3aa4c9389532cedb7 /pkgs/development/haskell-modules/configuration-common.nix
parente3cc3de334b831027e187d4ab083f46ae094f63a (diff)
downloadnixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.tar
nixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.tar.gz
nixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.tar.bz2
nixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.tar.lz
nixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.tar.xz
nixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.tar.zst
nixlib-79f92f00f928da0db6f48eec45f6bb45661ac21e.zip
haskell-vector: jailbreak to fix test suite build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 8e5415ca4ab8..a130772297c4 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;