git.iko.soy/typeable/cabal2nix
on master help sign in
Configure vector build with -msse2 on i686 platforms to fix test suite failures.

https://github.com/haskell/vector/issues/47

commitbc0da0441443a39238a38b568a236e77482197e3 authorPeter Simons <simons@cryp.to> dateWed 15 Oct 2014, 09:35 (12 years ago) parent394b29c
1 file changed+1
src/Cabal2Nix/PostProcess.hs+1
src/Cabal2Nix/PostProcess.hs+1
@@ -108,6 +108,7 @@ postProcess deriv@(MkDerivation {..})
108108 = deriv { runHaddock = True, phaseOverrides = transformersNoHaddock }
109109 | pname == "tz" = deriv { extraFunctionArgs = ["pkgs_tzdata"], phaseOverrides = "preConfigure = \"export TZDIR=${pkgs_tzdata}/share/zoneinfo\";" }
110110 | pname == "vacuum" = deriv { extraLibs = "ghcPaths":extraLibs }
111+ | pname == "vector" = deriv { configureFlags = "${self.stdenv.lib.optionalString self.stdenv.isi686 \"--ghc-options=-msse2\"}":configureFlags }
111112 | pname == "wxc" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs, phaseOverrides = wxcPostInstall }
112113 | pname == "wxcore" = deriv { extraLibs = "wxGTK":"mesa":"libX11":extraLibs }
113114 | pname == "X11" && version >= Version [1,6] []