nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ pkgs, haskellLib }:
2
3let
4 inherit (pkgs) lib;
5
6in
7
8self: super: {
9 llvmPackages = lib.dontRecurseIntoAttrs self.ghc.llvmPackages;
10
11 # Disable GHC core libraries
12 array = null;
13 base = null;
14 binary = null;
15 bytestring = null;
16 Cabal = null;
17 Cabal-syntax = null;
18 containers = null;
19 deepseq = null;
20 directory = null;
21 exceptions = null;
22 file-io = null;
23 filepath = null;
24 ghc-bignum = null;
25 ghc-boot = null;
26 ghc-boot-th = null;
27 ghc-compact = null;
28 ghc-experimental = null;
29 ghc-heap = null;
30 ghc-internal = null;
31 ghc-platform = null;
32 ghc-prim = null;
33 ghc-toolchain = null;
34 ghci = null;
35 haddock-api = null;
36 haddock-library = null;
37 haskeline = null;
38 hpc = null;
39 integer-gmp = null;
40 mtl = null;
41 os-string = null;
42 parsec = null;
43 pretty = null;
44 process = null;
45 rts = null;
46 semaphore-compat = null;
47 stm = null;
48 system-cxx-std-lib = null;
49 template-haskell = null;
50 # GHC only builds terminfo if it is a native compiler
51 terminfo =
52 if pkgs.stdenv.hostPlatform == pkgs.stdenv.buildPlatform then
53 null
54 else
55 haskellLib.doDistribute self.terminfo_0_4_1_7;
56 text = null;
57 time = null;
58 transformers = null;
59 unix = null;
60 xhtml = null;
61}