vector: jailbreak to fix the build with latest version of QuickCheck
commit0043faf2714019a57a213698d1fab72f41c587d8
authorPeter Simons <simons@cryp.to>
dateFri 1 Jan 2021, 21:38 (6 years ago)
parent8a21e02
pkgs/development/haskell-modules/configuration-common.nix+2−1
@@ -130,7 +130,8 @@ self: super: {
130130 ABList = dontCheck super.ABList;
131131
132132 # sse2 flag due to https://github.com/haskell/vector/issues/47.
133− vector = if pkgs.stdenv.isi686 then appendConfigureFlag super.vector "--ghc-options=-msse2" else super.vector;
133+ # Jailbreak is necessary for QuickCheck dependency.
134+ vector = doJailbreak (if pkgs.stdenv.isi686 then appendConfigureFlag super.vector "--ghc-options=-msse2" else super.vector);
134135
135136 conduit-extra = if pkgs.stdenv.isDarwin
136137 then super.conduit-extra.overrideAttrs (drv: { __darwinAllowLocalNetworking = true; })