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