mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
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:
parent
42e16cc0c0
commit
f6b35ce8e3
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user