haskellPackages.cabal-install: Fix build for 3.4.0.0
We can‘t use overrideScope with random because that would touch a lot of tests and cause build failures. So I try to do the overrides manually.
This commit is contained in:
parent
75da00cacd
commit
1444504e4b
1 changed files with 7 additions and 14 deletions
|
@ -42,20 +42,13 @@ self: super: {
|
||||||
unix = null;
|
unix = null;
|
||||||
xhtml = null;
|
xhtml = null;
|
||||||
|
|
||||||
# The proper 3.2.0.0 release does not compile with ghc-8.10.1, so we take the
|
cabal-install = super.cabal-install.override {
|
||||||
# hitherto unreleased next version from the '3.2' branch of the upstream git
|
Cabal = super.Cabal_3_4_0_0;
|
||||||
# repository for the time being.
|
hackage-security = super.hackage-security.override { Cabal = super.Cabal_3_4_0_0; };
|
||||||
cabal-install = assert super.cabal-install.version == "3.2.0.0";
|
# Usung dontCheck to break test dependency cycles
|
||||||
overrideCabal super.cabal-install (drv: {
|
edit-distance = dontCheck (super.edit-distance.override { random = super.random_1_2_0; });
|
||||||
postUnpack = "sourceRoot+=/cabal-install; echo source root reset to $sourceRoot";
|
random = super.random_1_2_0;
|
||||||
version = "3.2.0.0-git";
|
|
||||||
editedCabalFile = null;
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = "git://github.com/haskell/cabal.git";
|
|
||||||
rev = "9bd4cc0591616aeae78e17167338371a2542a475";
|
|
||||||
sha256 = "005q1shh7vqgykkp72hhmswmrfpz761x0q0jqfnl3wqim4xd9dg0";
|
|
||||||
};
|
};
|
||||||
});
|
|
||||||
|
|
||||||
# Jailbreak to fix the build.
|
# Jailbreak to fix the build.
|
||||||
base-noprelude = doJailbreak super.base-noprelude;
|
base-noprelude = doJailbreak super.base-noprelude;
|
||||||
|
|
Loading…
Reference in a new issue