haskellPackages.Cabal_3_10_1_0: build with matching of Cabal-syntax

This commit is contained in:
sternenseemann 2023-03-14 13:43:01 +01:00
parent 484fe9b796
commit 38d703bdb7
2 changed files with 9 additions and 0 deletions

View file

@ -20,6 +20,14 @@ with haskellLib;
self: super: {
# Make sure that Cabal 3.10.* can be built as-is
Cabal_3_10_1_0 = doDistribute (super.Cabal_3_10_1_0.override ({
Cabal-syntax = self.Cabal-syntax_3_10_1_0;
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.2.5") {
# Use process core package when possible
process = self.process_1_6_17_0;
}));
# cabal-install needs most recent versions of Cabal and Cabal-syntax,
# so we need to put some extra work for non-latest GHCs
inherit (

View file

@ -382,6 +382,7 @@ let
cabal-install = released;
Cabal_3_6_3_0 = released;
Cabal_3_8_1_0 = released;
Cabal_3_10_1_0 = released;
cabal2nix = released;
cabal2nix-unstable = released;
funcmp = released;