summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-07-17 19:44:21 +0200
committerPeter Simons <simons@cryp.to>2018-07-18 10:27:39 +0200
commit0ac5637ee960be79e3d5c8c03577c818b885cdac (patch)
treecfe222ceded2bc9816e1c874c4ae76d2052ffe0c /pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
parent194a2f05358a1c543a387cf3053d4abc3bf8ad7a (diff)
downloadnixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.tar
nixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.tar.gz
nixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.tar.bz2
nixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.tar.lz
nixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.tar.xz
nixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.tar.zst
nixpkgs-0ac5637ee960be79e3d5c8c03577c818b885cdac.zip
Add a couple of overrides to fix builds in the ghc-8.6.x package set.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
index b2e9d43ef08..42712df3295 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -44,4 +44,17 @@ self: super: {
   # Use to be a core-library, but no longer is since GHC 8.4.x.
   hoopl = self.hoopl_3_10_2_2;
 
+  # lts-12.x versions do not compile.
+  primitive = self.primitive_0_6_4_0;
+  tagged = self.tagged_0_8_6;
+
+  # Over-specified constraints.
+  async = doJailbreak super.async;                           # base >=4.3 && <4.12, stm >=2.2 && <2.5
+  ChasingBottoms = doJailbreak super.ChasingBottoms;         # base >=4.2 && <4.12, containers >=0.3 && <0.6
+  hashable = doJailbreak super.hashable;                     # base >=4.4 && <4.1
+  hashable-time = doJailbreak super.hashable-time;           # base >=4.7 && <4.12
+  integer-logarithms = doJailbreak super.integer-logarithms; # base >=4.3 && <4.12
+  tar = doJailbreak super.tar;                               # containers >=0.2 && <0.6
+  test-framework = doJailbreak super.test-framework;         # containers >=0.1 && <0.6
+
 }