ghcWithPackages: add withLLVM

This commit is contained in:
Nikolay Amiantov
2015-03-26 11:29:05 +01:00
committed by Peter Simons
parent 1368206eb8
commit 49f3c375b5
12 changed files with 52 additions and 14 deletions
@@ -4,6 +4,9 @@ with import ./lib.nix { inherit pkgs; };
self: super: {
# Use LLVM for particular GHC version.
inherit (self.llvmPackages) llvm;
# Some packages need a non-core version of Cabal.
Cabal_1_18_1_6 = dontCheck super.Cabal_1_18_1_6;
Cabal_1_20_0_3 = dontCheck super.Cabal_1_20_0_3;
@@ -485,11 +488,6 @@ self: super: {
# https://github.com/ucsd-progsys/liquid-fixpoint/issues/44
liquid-fixpoint = overrideCabal super.liquid-fixpoint (drv: { preConfigure = "patchShebangs ."; });
# LLVM 3.5 breaks GHC: https://ghc.haskell.org/trac/ghc/ticket/9142.
GlomeVec = super.GlomeVec.override { llvm = pkgs.llvm_34; }; # https://github.com/jimsnow/glome/issues/2
gloss-raster = super.gloss-raster.override { llvm = pkgs.llvm_34; };
repa-examples = super.repa-examples.override { llvm = pkgs.llvm_34; };
# Missing module.
rematch = dontCheck super.rematch; # https://github.com/tcrayford/rematch/issues/5
rematch-text = dontCheck super.rematch-text; # https://github.com/tcrayford/rematch/issues/6