lol
1{ pkgs, haskellLib }:
2
3with haskellLib;
4
5self: super: {
6
7 # Suitable LLVM version.
8 llvmPackages = pkgs.llvmPackages_35;
9
10 # Disable GHC 8.0.x core libraries.
11 array = null;
12 base = null;
13 binary = null;
14 bytestring = null;
15 Cabal = null;
16 containers = null;
17 deepseq = null;
18 directory = null;
19 filepath = null;
20 ghc-boot = null;
21 ghc-boot-th = null;
22 ghc-prim = null;
23 ghci = null;
24 haskeline = null;
25 hoopl = null;
26 hpc = null;
27 integer-gmp = null;
28 pretty = null;
29 process = null;
30 rts = null;
31 template-haskell = null;
32 terminfo = null;
33 time = null;
34 transformers = null;
35 unix = null;
36 xhtml = null;
37
38 # cabal-install can use the native Cabal library.
39 cabal-install = super.cabal-install.override { Cabal = null; };
40
41 # jailbreak-cabal can use the native Cabal library.
42 jailbreak-cabal = super.jailbreak-cabal.override { Cabal = null; };
43
44 # https://github.com/bmillwood/applicative-quoters/issues/6
45 applicative-quoters = appendPatch super.applicative-quoters (pkgs.fetchpatch {
46 url = "https://patch-diff.githubusercontent.com/raw/bmillwood/applicative-quoters/pull/7.patch";
47 sha256 = "026vv2k3ks73jngwifszv8l59clg88pcdr4mz0wr0gamivkfa1zy";
48 });
49
50 # https://github.com/christian-marie/xxhash/issues/3
51 xxhash = doJailbreak super.xxhash;
52
53 # https://github.com/Deewiant/glob/issues/8
54 Glob = doJailbreak super.Glob;
55
56 # http://hub.darcs.net/dolio/vector-algorithms/issue/9#comment-20170112T145715
57 vector-algorithms = dontCheck super.vector-algorithms;
58
59}