From 469a15d3865e50bc2cf97a8cbac43357137febf3 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Mar 2018 15:40:16 +0100 Subject: [PATCH] distribution-nixpkgs: fix build with GHC 8.2.2 --- .../development/haskell-modules/configuration-ghc-8.2.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix index 90b142a1f0e2..44a08d585b4f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -91,4 +91,10 @@ self: super: { text = self.text_1_2_3_0; }); + # Needs Cabal 2.2.x, which is not the default. + distribution-nixpkgs = super.distribution-nixpkgs.overrideScope (self: super: { + Cabal = self.Cabal_2_2_0_0; + text = self.text_1_2_3_0; + }); + }