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 16, 2024
1 parent cfb3e07 commit 6220b50
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
43 changes: 42 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
-- See CONTRIBUTING for Nix commands you need to run if you change it:
index-state: 2024-06-12T03:57:48Z
index-state: 2024-12-13T01:38:36Z

packages:
cardano-prelude
cardano-prelude-test

test-show-details: direct

if impl (ghc >= 9.12)
allow-newer:
, assoc:base
, aeson:ghc-prim
, aeson:template-haskell
, aeson:time
, async:base
, boring:base
, cborg:base
, cborg:ghc-prim
, data-fix:base
, generically:base
, hashable:base
, hedgehog:template-haskell
, hsc2hs:base
, indexed-traversable:base
, indexed-traversable-instances:base
, integer-conversion:base
, integer-logarithms:base
, integer-logarithms:ghc-prim
, lifted-async:base
, OneTuple:base
, primitive:base
, quickcheck-instances:base
, scientific:base
, scientific:containers
, scientific:template-haskell
, semialign:base
, splitmix:base
, text-iso8601:time
, text-short:base
, text-short:ghc-prim
, text-short:template-haskell
, text:template-haskell
, these:base
, time:base
, time-compat:base
, time-compat:time
, unordered-containers:template-haskell
, uuid-types:template-haskell
5 changes: 4 additions & 1 deletion cardano-prelude/cardano-prelude.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ library
c-sources: cbits/hashset.c
cbits/worklist.c
cbits/closure_size.c
ghc-options: -Wall

-- -Wderiving-typeable was added in ghc-9.12. Disabling this warning
-- should be disabled at some stage.
ghc-options: -Wall -Wno-deriving-typeable

cc-options: -Wall

Expand Down

0 comments on commit 6220b50

Please sign in to comment.