Skip to content

Commit

Permalink
Support ghc-9.12
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Dec 13, 2024
1 parent ded795b commit a4c941c
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 3 deletions.
72 changes: 69 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ repository cardano-haskell-packages
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee

-- The hackage index-state
index-state: 2024-12-10T00:00:00Z
-- The CHaP index-state
index-state: cardano-haskell-packages 2024-10-10T04:22:19Z
index-state: 2024-12-13T01:38:36Z
index-state: cardano-haskell-packages 2024-12-11T15:05:22Z

packages:
base-deriving-via
cardano-binary
Expand All @@ -39,3 +39,69 @@ program-options
package bitvec
-- Workaround for windows cross-compilation
flags: -simd

allow-newer:
, aeson:time
, aeson:ghc-prim
, aeson:template-haskell
, assoc:base
, async:base
, attoparsec:ghc-prim
, bifunctors:template-haskell
, binary-orphans:base
, boring:base
, cborg:base
, cborg:ghc-prim
, data-fix:base
, free:template-haskell
, generically:base
, hashable:base
, hedgehog:template-haskell
, hsc2hs:base
, io-classes:base
, io-classes:time
, indexed-traversable:base
, indexed-traversable-instances:base
, integer-conversion:base
, integer-logarithms:base
, integer-logarithms:ghc-prim
, lifted-async:base
, microstache:base
, OneTuple:base
, parallel:base
, primitive:base
, quickcheck-instances:base
, recursion-schemes:template-haskell
, scientific:base
, scientific:template-haskell
, semialign:base
, serialise:base
, serialise:ghc-prim
, splitmix:base
, text-iso8601:time
, text-short:base
, text-short:ghc-prim
, text-short:template-haskell
, these:base
, th-abstraction:template-haskell
, th-compat:template-haskell
, time:base
, time-compat:base
, time-compat:time
, tree-diff:base
, tree-diff:time
, unordered-containers:template-haskell
, uuid-types:template-haskell
, vector:base
, vector-stream:base
, vector-th-unbox:base
, vector-th-unbox:template-haskell

source-repository-package
type: git
location: https://github.com/IntersectMBO/cardano-prelude
tag: 62c1043a4a34f5f7771070b3a528c10dab24dcdb
--sha256: 0p0vl1yhmqljgbx3vc31z7pb28mmps2hb0bfn75dmpr7kg4rb906
subdir:
cardano-prelude
cardano-prelude-test
4 changes: 4 additions & 0 deletions cardano-crypto-tests/cardano-crypto-tests.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ library
Test.Crypto.Vector.StringConstants
Test.Crypto.Vector.Vectors

-- This should be removed when ghc-9.12 becomes the oldest compiler we support.
if impl(ghc >= 9.12)
ghc-options: -Wno-deriving-typeable

test-suite test-crypto
import: base, project-config
type: exitcode-stdio-1.0
Expand Down

0 comments on commit a4c941c

Please sign in to comment.