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