Skip to content

Commit

Permalink
Configure vector build with -msse2 on i686 platforms to fix test suit…
Browse files Browse the repository at this point in the history
…e failures.

haskell/vector#47
  • Loading branch information
peti committed Oct 15, 2014
1 parent 394b29c commit bc0da04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Cabal2Nix/PostProcess.hs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ postProcess deriv@(MkDerivation {..})
= deriv { runHaddock = True, phaseOverrides = transformersNoHaddock }
| pname == "tz" = deriv { extraFunctionArgs = ["pkgs_tzdata"], phaseOverrides = "preConfigure = \"export TZDIR=${pkgs_tzdata}/share/zoneinfo\";" }
| pname == "vacuum" = deriv { extraLibs = "ghcPaths":extraLibs }
| pname == "vector" = deriv { configureFlags = "${self.stdenv.lib.optionalString self.stdenv.isi686 \"--ghc-options=-msse2\"}":configureFlags }
| pname == "wxc" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs, phaseOverrides = wxcPostInstall }
| pname == "wxcore" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs }
| pname == "X11" && version >= Version [1,6] []
Expand Down

0 comments on commit bc0da04

Please sign in to comment.