summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-16 21:48:59 +0100
committerPeter Simons <simons@cryp.to>2015-01-17 20:29:00 +0100
commite6ecb1fb83a9fda089c6fa23617185145d54b80f (patch)
tree6d032d8be9c3e5ba43773a92d8403035066aa6a9 /pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
parentd1fc5370e93f202c2de5a53ab5620cb29880a103 (diff)
downloadnixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.tar
nixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.tar.gz
nixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.tar.bz2
nixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.tar.lz
nixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.tar.xz
nixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.tar.zst
nixlib-e6ecb1fb83a9fda089c6fa23617185145d54b80f.zip
haskell-ng: enable package sets for GHC 6.12.3, 7.0.4, 7.2.2, and 7.4.2
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
new file mode 100644
index 000000000000..aa54f736dabf
--- /dev/null
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.4.x.nix
@@ -0,0 +1,51 @@
+{ pkgs }:
+
+with import ./lib.nix { inherit pkgs; };
+
+self: super: {
+
+  # Disable GHC 7.4.x core libraries.
+  array = null;
+  base = null;
+  binary = null;
+  bin-package-db = null;
+  bytestring = null;
+  Cabal = null;
+  containers = null;
+  deepseq = null;
+  directory = null;
+  extensible-exceptions = null;
+  filepath = null;
+  ghc-prim = null;
+  haskell2010 = null;
+  haskell98 = null;
+  hoopl = null;
+  hpc = null;
+  integer-gmp = null;
+  old-locale = null;
+  old-time = null;
+  pretty = null;
+  process = null;
+  rts = null;
+  template-haskell = null;
+  time = null;
+  unix = null;
+
+  # transformers is not a core library for this compiler.
+  transformers = self.transformers_0_4_2_0;
+  mtl = self.mtl_2_2_1;
+  transformers-compat = disableCabalFlag super.transformers-compat "three";
+
+  # https://github.com/haskell/cabal/issues/2322
+  Cabal_1_22_0_0 = super.Cabal_1_22_0_0.override { binary = self.binary_0_7_2_3; };
+
+  # https://github.com/tibbe/hashable/issues/85
+  hashable = dontCheck super.hashable;
+
+  # Needs Cabal >= 1.18.x.
+  jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_1_18_1_6; };
+
+  # Haddock chokes on the prologue from the cabal file.
+  ChasingBottoms = dontHaddock super.ChasingBottoms;
+
+}