about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2019-09-24 18:46:39 +0200
committerPeter Simons <simons@cryp.to>2019-09-25 15:29:46 +0200
commit933c88576167e0b0c7e0737a38bc1d7be4f15286 (patch)
tree7f27a6d4ad93d7cf1f9035d4c69ca27006fb1617 /pkgs/development/haskell-modules
parentcfb580f6c509c282163fe7b349d44a4a561d4f50 (diff)
downloadnixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.tar
nixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.tar.gz
nixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.tar.bz2
nixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.tar.lz
nixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.tar.xz
nixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.tar.zst
nixlib-933c88576167e0b0c7e0737a38bc1d7be4f15286.zip
cabal2nix: add override to keep the ghc-8.6.x version compiling
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix3
1 files changed, 3 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 d2e463b123c0..455b2358da77 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -95,4 +95,7 @@ self: super: {
   # Newer versions don't compile.
   resolv = self.resolv_0_1_1_2;
 
+  # cabal2nix needs the latest version of Cabal.
+  cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; });
+
 }