2018-07-04 09:46:07 +01:00
|
|
|
{ pkgs, haskellLib }:
|
|
|
|
|
|
|
|
with haskellLib;
|
|
|
|
|
|
|
|
self: super: {
|
|
|
|
|
2018-07-16 09:55:17 +01:00
|
|
|
# This compiler version needs llvm 5.x.
|
|
|
|
llvmPackages = pkgs.llvmPackages_5;
|
2018-07-04 09:46:07 +01:00
|
|
|
|
|
|
|
# Disable GHC 8.6.x core libraries.
|
|
|
|
array = null;
|
|
|
|
base = null;
|
|
|
|
binary = null;
|
|
|
|
bytestring = null;
|
|
|
|
Cabal = null;
|
|
|
|
containers = null;
|
|
|
|
deepseq = null;
|
|
|
|
directory = null;
|
|
|
|
filepath = null;
|
|
|
|
ghc-boot = null;
|
|
|
|
ghc-boot-th = null;
|
|
|
|
ghc-compact = null;
|
|
|
|
ghc-heap = null;
|
|
|
|
ghc-prim = null;
|
|
|
|
ghci = null;
|
|
|
|
haskeline = null;
|
|
|
|
hpc = null;
|
|
|
|
integer-gmp = null;
|
|
|
|
libiserv = null;
|
|
|
|
mtl = null;
|
|
|
|
parsec = null;
|
|
|
|
pretty = null;
|
|
|
|
process = null;
|
|
|
|
rts = null;
|
|
|
|
stm = null;
|
|
|
|
template-haskell = null;
|
|
|
|
terminfo = null;
|
|
|
|
text = null;
|
|
|
|
time = null;
|
|
|
|
transformers = null;
|
|
|
|
unix = null;
|
|
|
|
xhtml = null;
|
|
|
|
|
|
|
|
# Use to be a core-library, but no longer is since GHC 8.4.x.
|
|
|
|
hoopl = self.hoopl_3_10_2_2;
|
|
|
|
|
2018-09-24 20:13:11 +01:00
|
|
|
# LTS-12.x versions do not compile.
|
|
|
|
contravariant = self.contravariant_1_5;
|
2018-09-27 16:02:40 +01:00
|
|
|
control-monad-free = markBrokenVersion "0.6.1" super.control-monad-free;
|
2018-09-27 16:02:20 +01:00
|
|
|
Glob = self.Glob_0_9_3;
|
2018-09-27 16:08:18 +01:00
|
|
|
haddock-library = markBroken super.haddock-library;
|
|
|
|
hslogger = self.hslogger_1_2_12;
|
2018-10-01 09:27:30 +01:00
|
|
|
hspec = self.hspec_2_5_8;
|
|
|
|
hspec-core = self.hspec-core_2_5_8;
|
|
|
|
hspec-core_2_5_8 = super.hspec-core_2_5_8.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_12_5; });
|
|
|
|
hspec-discover = self.hspec-discover_2_5_8;
|
2018-09-24 20:13:11 +01:00
|
|
|
hspec-meta = self.hspec-meta_2_5_6;
|
2018-10-01 09:27:30 +01:00
|
|
|
hspec-meta_2_5_6 = super.hspec-meta_2_5_6.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_12_5; });
|
2018-09-27 16:01:29 +01:00
|
|
|
JuicyPixels = self.JuicyPixels_3_3_1;
|
2018-09-27 16:04:54 +01:00
|
|
|
lens = dontCheck super.lens; # avoid depending on broken polyparse
|
2018-09-27 16:01:29 +01:00
|
|
|
polyparse = markBrokenVersion "1.12" super.polyparse;
|
2018-07-17 18:44:21 +01:00
|
|
|
primitive = self.primitive_0_6_4_0;
|
|
|
|
tagged = self.tagged_0_8_6;
|
2018-09-24 20:13:11 +01:00
|
|
|
unordered-containers = dontCheck super.unordered-containers;
|
2018-07-17 18:44:21 +01:00
|
|
|
|
|
|
|
# Over-specified constraints.
|
|
|
|
async = doJailbreak super.async; # base >=4.3 && <4.12, stm >=2.2 && <2.5
|
|
|
|
ChasingBottoms = doJailbreak super.ChasingBottoms; # base >=4.2 && <4.12, containers >=0.3 && <0.6
|
|
|
|
hashable = doJailbreak super.hashable; # base >=4.4 && <4.1
|
|
|
|
hashable-time = doJailbreak super.hashable-time; # base >=4.7 && <4.12
|
|
|
|
integer-logarithms = doJailbreak super.integer-logarithms; # base >=4.3 && <4.12
|
2018-09-24 20:13:11 +01:00
|
|
|
optparse-applicative = doJailbreak super.optparse-applicative; # https://github.com/pcapriotti/optparse-applicative/issues/319
|
2018-07-17 18:44:21 +01:00
|
|
|
tar = doJailbreak super.tar; # containers >=0.2 && <0.6
|
|
|
|
test-framework = doJailbreak super.test-framework; # containers >=0.1 && <0.6
|
|
|
|
|
2018-09-27 16:00:22 +01:00
|
|
|
# https://github.com/haskell/fgl/issues/79
|
|
|
|
# https://github.com/haskell/fgl/issues/81
|
|
|
|
fgl = appendPatch super.fgl ./patches/fgl-monad-fail.patch;
|
|
|
|
|
2018-09-28 11:09:50 +01:00
|
|
|
# https://github.com/jgm/texmath/pull/121
|
|
|
|
texmath = appendPatch (doJailbreak super.texmath) (pkgs.fetchpatch
|
|
|
|
{ url = https://github.com/jgm/texmath/pull/121.patch;
|
|
|
|
sha256 = "14pz2cpz9rvmy7mlmnz8iz76rsdyv5v442ij2i8k9zrbxj6nai7l";
|
|
|
|
});
|
|
|
|
|
2018-07-04 09:46:07 +01:00
|
|
|
}
|