mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
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:
parent
98be10b199
commit
a5821740f8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user