haskellPackages.cabal_3_12_0_0: fix build

closes: https://github.com/NixOS/nixpkgs/issues/324425
This commit is contained in:
Peter Becich
2024-07-03 22:54:48 -07:00
parent 3a750ddb7c
commit cbf9f5268d

View File

@@ -27,6 +27,13 @@ self: super: {
process = self.process_1_6_20_0;
}));
Cabal_3_12_0_0 = doDistribute (super.Cabal_3_12_0_0.override ({
Cabal-syntax = self.Cabal-syntax_3_12_0_0;
} // lib.optionalAttrs (lib.versionOlder self.ghc.version "9.2.5") {
# Use process core package when possible
process = self.process_1_6_20_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 (