haskell-cabal-install-parsers: re-factor overrides to fix build with ghc-8.10.1

wip/yesman
Peter Simons 4 years ago
parent 7b7764287c
commit 21a354b6dd
  1. 7
      pkgs/development/haskell-modules/configuration-common.nix
  2. 4
      pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix

@ -1457,11 +1457,8 @@ self: super: {
cryptonite = dontCheck super.cryptonite;
# The test suite depends on an impure cabal-install installation in
# $HOME, which we don't have in our build sandbox, and it is keeping
# up with the most recent Cabal version.
cabal-install-parsers = dontCheck (super.cabal-install-parsers.overrideScope (self: super: {
Cabal = self.Cabal_3_2_0_0;
}));
# $HOME, which we don't have in our build sandbox.
cabal-install-parsers = dontCheck super.cabal-install-parsers;
# haskell-ci-0.8 needs cabal-install-parsers ==0.1, but we have 0.2.
haskell-ci = doJailbreak super.haskell-ci;

@ -102,4 +102,8 @@ self: super: {
# Only 0.7 is compatible with ghc 8.7 https://hackage.haskell.org/package/apply-refact/changelog
apply-refact = super.apply-refact_0_7_0_0;
# The package needs the latest Cabal version.
cabal-install-parsers = super.cabal-install-parsers.overrideScope (self: super: { Cabal = self.Cabal_3_2_0_0; });
}

Loading…
Cancel
Save