haskell.packages.*.[cC]abal*: use process 1.6.17.0 for GHC < 9.2.5

Cabal 3.8 and friends support process 1.6.17.0 which has recently been
released on Hackage, so we can fix the evaluation errors this way.
This commit is contained in:
sternenseemann 2023-02-19 13:16:55 +01:00
parent 98be10b199
commit a5821740f8
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ self: super: {
Cabal-syntax = cself.Cabal-syntax_3_8_1_0;
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.2.5") {
# GHC 9.2.5 starts shipping 1.6.16.0
process = cself.process_1_6_16_0;
process = cself.process_1_6_17_0;
} // lib.optionalAttrs (lib.versions.majorMinor self.ghc.version == "8.10") {
# Prevent dependency on doctest which causes an inconsistent dependency
# due to depending on ghc-8.10.7 (with bundled process) vs. process 1.6.16.0

View File

@ -1057,7 +1057,7 @@ self: super: builtins.intersectAttrs super {
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.2.5") {
# Use process core package when possible
process = self.process_1_6_16_0;
process = self.process_1_6_17_0;
}));
# cabal-install switched to build type simple in 3.2.0.0