From d7702e0dbab81a24c27b57d26ddb613f6d451749 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 30 Sep 2020 10:50:24 +0200 Subject: [PATCH] Configure the Haskell package set for ghc-9.0.x. --- .../configuration-ghc-9.0.x.nix | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix new file mode 100644 index 00000000000..2a3a0b3bc14 --- /dev/null +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -0,0 +1,46 @@ +{ pkgs, haskellLib }: + +with haskellLib; + +self: super: { + + # This compiler version needs llvm 10.x. + llvmPackages = pkgs.llvmPackages_10; + + # Disable GHC 9.0.x core libraries. + array = null; + base = null; + binary = null; + bytestring = null; + Cabal = null; + containers = null; + deepseq = null; + directory = null; + exceptions = null; + filepath = null; + ghc-bignum = null; + ghc-boot = null; + ghc-boot-th = null; + ghc-compact = null; + ghc-heap = null; + ghc-prim = null; + ghci = null; + haskeline = null; + hpc = null; + integer-gmp = null; + libiserv = null; + mtl = null; + parsec = null; + pretty = null; + process = null; + rts = null; + stm = null; + template-haskell = null; + terminfo = null; + text = null; + time = null; + transformers = null; + unix = null; + xhtml = null; + +}