From e7dce63d541c6b582e8d2f15de7c603a220374b5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 7 Feb 2020 20:44:24 +0100 Subject: [PATCH] haskell-cabal2spec: override Cabal to version 3.0.x --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 3 +++ 1 file changed, 3 insertions(+) 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 7c0866bfbe5..e97cb447e53 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -81,4 +81,7 @@ self: super: { hackage-db = self.hackage-db_2_1_0; }); + # cabal2spec needs a recent version of Cabal + cabal2spec = super.cabal2spec.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; }); + }