summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-09-30 10:50:24 +0200
committerPeter Simons <simons@cryp.to>2020-09-30 10:50:24 +0200
commitd7702e0dbab81a24c27b57d26ddb613f6d451749 (patch)
tree9e0d88bc88afdbae68d69e8fc993decef527bfdc /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parente1773ee0bb99e6785e2e06c0931cc8ffa9341d2a (diff)
downloadnixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.tar
nixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.tar.gz
nixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.tar.bz2
nixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.tar.lz
nixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.tar.xz
nixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.tar.zst
nixpkgs-d7702e0dbab81a24c27b57d26ddb613f6d451749.zip
Configure the Haskell package set for ghc-9.0.x.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix46
1 files changed, 46 insertions, 0 deletions
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;
+
+}