Re-enable Cabal 3.2.* build for older ghc versions

This commit is contained in:
Malte Brandy 2021-02-08 16:58:02 +01:00 committed by Peter Simons
parent ac9f8df68b
commit 5fd1c13b7f
2 changed files with 32 additions and 0 deletions

View File

@ -2701,6 +2701,7 @@ default-package-overrides:
extra-packages:
- Cabal == 2.2.* # required for jailbreak-cabal etc.
- Cabal == 2.4.* # required for cabal-install etc.
- Cabal == 3.2.* # required for cabal-install etc.
- dhall == 1.29.0 # required for ats-pkg
- dhall == 1.37.1 # required for spago 0.19.0.
- Diff < 0.4 # required by liquidhaskell-0.8.10.2: https://github.com/ucsd-progsys/liquidhaskell/issues/1729

View File

@ -2746,6 +2746,37 @@ self: {
hydraPlatforms = lib.platforms.none;
}) {};
"Cabal_3_2_1_0" = callPackage
({ mkDerivation, array, base, base-compat, base-orphans, binary
, bytestring, containers, deepseq, Diff, directory, filepath
, integer-logarithms, mtl, optparse-applicative, parsec, pretty
, process, QuickCheck, stm, tagged, tar, tasty, tasty-golden
, tasty-hunit, tasty-quickcheck, temporary, text, time
, transformers, tree-diff, unix
}:
mkDerivation {
pname = "Cabal";
version = "3.2.1.0";
sha256 = "1xfn9q6jnbp3jc6swn4hapa83f5m66pjz8fqbqmffydagf36fkzy";
revision = "1";
editedCabalFile = "07brbxkjlf1yqs9bjdwcwq1gx853kh600qnrf6bnya92q1p0fhw7";
setupHaskellDepends = [ mtl parsec ];
libraryHaskellDepends = [
array base binary bytestring containers deepseq directory filepath
mtl parsec pretty process text time transformers unix
];
testHaskellDepends = [
array base base-compat base-orphans binary bytestring containers
deepseq Diff directory filepath integer-logarithms
optparse-applicative pretty process QuickCheck stm tagged tar tasty
tasty-golden tasty-hunit tasty-quickcheck temporary text tree-diff
];
doCheck = false;
description = "A framework for packaging Haskell software";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
}) {};
"Cabal_3_4_0_0" = callPackage
({ mkDerivation, array, async, base, base-compat, base-orphans
, binary, bytestring, clock, containers, deepseq, Diff, directory