From 933c88576167e0b0c7e0737a38bc1d7be4f15286 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 24 Sep 2019 18:46:39 +0200 Subject: cabal2nix: add override to keep the ghc-8.6.x version compiling --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkgs/development/haskell-modules') 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; }); + } -- cgit 1.4.1