lol
1##
2## Caveat: a copy of configuration-ghc-8.6.x.nix with minor changes:
3##
4## 1. "8.7" strings
5## 2. llvm 6
6## 3. disabled library update: parallel
7##
8{ pkgs, haskellLib }:
9
10with haskellLib;
11
12self: super: {
13
14 llvmPackages = pkgs.lib.dontRecurseIntoAttrs pkgs.llvmPackages_10;
15
16 # Disable GHC 8.7.x core libraries.
17 array = null;
18 base = null;
19 binary = null;
20 bytestring = null;
21 Cabal = null;
22 containers = null;
23 deepseq = null;
24 directory = null;
25 filepath = null;
26 ghc-boot = null;
27 ghc-boot-th = null;
28 ghc-bignum = null;
29 ghc-compact = null;
30 ghc-heap = null;
31 ghci = null;
32 ghc-prim = null;
33 haskeline = null;
34 hpc = null;
35 integer-gmp = null;
36 libiserv = null;
37 mtl = null;
38 parsec = null;
39 pretty = null;
40 process = null;
41 rts = null;
42 stm = null;
43 template-haskell = null;
44 terminfo = null;
45 text = null;
46 time = null;
47 transformers = null;
48 unix = null;
49 xhtml = null;
50 exceptions = null;
51
52 # https://github.com/tibbe/unordered-containers/issues/214
53 unordered-containers = dontCheck super.unordered-containers;
54
55 # Test suite does not compile.
56 data-clist = doJailbreak super.data-clist; # won't cope with QuickCheck 2.12.x
57 dates = doJailbreak super.dates; # base >=4.9 && <4.12
58 Diff = dontCheck super.Diff;
59 HaTeX = doJailbreak super.HaTeX; # containers >=0.4 && <0.6 is too tight; https://github.com/Daniel-Diaz/HaTeX/issues/126
60 hpc-coveralls = doJailbreak super.hpc-coveralls; # https://github.com/guillaume-nargeot/hpc-coveralls/issues/82
61 http-api-data = doJailbreak super.http-api-data;
62 persistent-sqlite = dontCheck super.persistent-sqlite;
63 system-fileio = dontCheck super.system-fileio; # avoid dependency on broken "patience"
64 unicode-transforms = dontCheck super.unicode-transforms;
65 wl-pprint-extras = doJailbreak super.wl-pprint-extras; # containers >=0.4 && <0.6 is too tight; https://github.com/ekmett/wl-pprint-extras/issues/17
66 RSA = dontCheck super.RSA; # https://github.com/GaloisInc/RSA/issues/14
67 monad-par = dontCheck super.monad-par; # https://github.com/simonmar/monad-par/issues/66
68 github = dontCheck super.github; # hspec upper bound exceeded; https://github.com/phadej/github/pull/341
69 binary-orphans = dontCheck super.binary-orphans; # tasty upper bound exceeded; https://github.com/phadej/binary-orphans/commit/8ce857226595dd520236ff4c51fa1a45d8387b33
70
71 # https://github.com/jgm/skylighting/issues/55
72 skylighting-core = dontCheck super.skylighting-core;
73
74 # Break out of "yaml >=0.10.4.0 && <0.11": https://github.com/commercialhaskell/stack/issues/4485
75 stack = doJailbreak super.stack;
76
77 # Fix build with ghc 8.6.x.
78 git-annex = appendPatch ./patches/git-annex-fix-ghc-8.6.x-build.patch super.git-annex;
79
80}