From f9e50cf70f32a1fe6729a75b2ac5b3c1a078bc0a Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 19 Mar 2023 15:50:26 +0100 Subject: [PATCH] haskell.packages.ghc94.cabal-install: make work This simply needs the override for Cabal, Cabal-syntax 3.10. All other core packages match the ones expected by cabal-install and friends. --- pkgs/development/haskell-modules/configuration-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index bae1be47cb0c..d513772370ef 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -42,7 +42,7 @@ self: super: { let # !!! Use cself/csuper inside for the actual overrides cabalInstallOverlay = cself: csuper: - lib.optionalAttrs (lib.versionOlder self.ghc.version "9.4") { + lib.optionalAttrs (lib.versionOlder self.ghc.version "9.6") { Cabal = cself.Cabal_3_10_1_0; Cabal-syntax = cself.Cabal-syntax_3_10_1_0; } // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.2.5") {