haskellPackages.cabal-install-solver: allow building directly

This is a dependency of cabal-install and builds by virtue of its
overrideScope. We also want to make sure it builds independently, so
that it doesn't get marked as broken at the very least.
This commit is contained in:
sternenseemann 2022-08-27 10:02:59 +02:00
parent 42e16cc0c0
commit f6b35ce8e3
5 changed files with 20 additions and 1 deletions

View File

@ -54,6 +54,11 @@ self: super: {
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
cabal-install-solver = super.cabal-install-solver.overrideScope (self: super: {
Cabal = self.Cabal_3_8_1_0;
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
# Pick right versions for GHC-specific packages
ghc-api-compat = doDistribute self.ghc-api-compat_8_10_7;

View File

@ -48,7 +48,6 @@ self: super: {
xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1;
# Needs Cabal 3.0.x.
cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_2_1_0; });
jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_3_2_1_0; };
# https://github.com/tibbe/unordered-containers/issues/214

View File

@ -60,6 +60,11 @@ self: super: {
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
cabal-install-solver = super.cabal-install-solver.overrideScope (self: super: {
Cabal = self.Cabal_3_8_1_0;
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
# Ignore overly restrictive upper version bounds.
aeson-diff = doJailbreak super.aeson-diff;

View File

@ -55,6 +55,11 @@ self: super: {
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
cabal-install-solver = super.cabal-install-solver.overrideScope (self: super: {
Cabal = self.Cabal_3_8_1_0;
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
# Jailbreaks & Version Updates

View File

@ -61,6 +61,11 @@ self: super: {
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
cabal-install-solver = super.cabal-install-solver.overrideScope (self: super: {
Cabal = self.Cabal_3_8_1_0;
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
doctest = dontCheck (doJailbreak super.doctest);