From 57c65cd39b96d6c30493617ff5e4830a8ef4fa80 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Tue, 19 Nov 2024 12:34:04 +1100 Subject: [PATCH] Support ghc 9.12 --- cabal.project | 77 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 71 insertions(+), 6 deletions(-) diff --git a/cabal.project b/cabal.project index 22be30739b6..6372715a8bb 100644 --- a/cabal.project +++ b/cabal.project @@ -14,9 +14,9 @@ repository cardano-haskell-packages -- update either of these. index-state: -- Bump both the following dates if you need newer packages from Hackage - , hackage.haskell.org 2024-10-16T00:00:00Z + , hackage.haskell.org 2024-11-17T03:52:09Z -- Bump this if you need newer packages from CHaP - , cardano-haskell-packages 2024-10-16T00:00:00Z + , cardano-haskell-packages 2024-11-12T08:40:13Z packages: cardano-constitution plutus-benchmark @@ -95,7 +95,72 @@ allow-newer: -- ------------------------------------------------------------------------------------------------- -- Following currently required for building with ghc-9.10. -constraints: - -- The API has changed for version 2.2, ledger depends on the old version and ledger will not - -- be updated until after the Conway release. - , cardano-crypto-class ^>= 2.1 +if impl (ghc >= 9.12) + + source-repository-package + type: git + location: https://github.com/IntersectMBO/cardano-crypto + tag: 790a3027a210ed3684ea9ffa1da504873d96b7de + --sha256: 1wlyvqgaf4gwzp80gpf334dwpcq2vbgywv2r31mk0iy469n1slbi + + source-repository-package + type: git + location: https://github.com/IntersectMBO/cardano-base + tag: 9c48b9126f412a1a0c926e22769830170484c95e + --sha256: 0ssgg71ab2rdc3sp8fipbjipxhwg4195p2r5y5c6rv2jc9625mxc + subdir: + cardano-crypto-class + cardano-crypto-tests + cardano-mempool + + allow-newer: + , Agda:base + , assoc:base + , bin:base + , binary-orphans:base + , boring:base + , brick:base + , cborg:base + , constraints-extras:base + , data-fix:base + , dec:base + , directory:time + , fin:base + , hashable:base + , hex-text:base + , indexed-traversable:base + , indexed-traversable-instances:base + , integer-conversion:base + , integer-gmp:base + , integer-logarithms:base + , io-classes:base + , io-classes:time + , microstache:base + , monoidal-containers:base + , nonempty-vector:base + , nothunks:time + , OneTuple:base + , QuickCheck:base + , quickcheck-instances:base + , quickcheck-instances:time + , ral:base + , scientific:base + , semialign:base + , serialise:base + , splitmix:base + , singletons:base + , singletons-th:base + , some:base + , tasty-hedgehog:base + , text:base + , text-short:base + , these:base + , time-compat:base + , time-compat:time + , tree-diff:base + , tree-diff:time + , universe-base:base + , vector-th-unbox:base + , zlib:base + + , plutus-core:cardano-crypto-class