Skip to content

Commit 8163a92

Browse files
authored
Merge pull request #5414 from input-output-hk/erikd/ghc-9.6-new
Make it build with ghc-9.6
2 parents 296de58 + b255aad commit 8163a92

File tree

46 files changed

+159
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+159
-84
lines changed

.github/workflows/github-page.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
env:
2424
# Modify this value to "invalidate" the cabal cache.
25-
CABAL_CACHE_VERSION: "2023-07-11"
25+
CABAL_CACHE_VERSION: "2023-07-27"
2626

2727
# Modify this value to "invalidate" the secp cache.
2828
SECP_CACHE_VERSION: "2022-12-30"

.github/workflows/haskell-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
env:
3333
# Modify this value to "invalidate" the cabal cache.
34-
CABAL_CACHE_VERSION: "2023-07-11"
34+
CABAL_CACHE_VERSION: "2023-07-27"
3535

3636
# Modify this value to "invalidate" the secp cache.
3737
SECP_CACHE_VERSION: "2022-12-30"

.github/workflows/haskell.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
ghc: ["9.2.7"]
28+
ghc: ["9.2.7", "9.6.2"]
2929
cabal: ["3.10.1.0"]
3030
os: [macos-latest, windows-latest]
3131

3232
env:
3333
# Modify this value to "invalidate" the cabal cache.
34-
CABAL_CACHE_VERSION: "2023-07-11"
34+
CABAL_CACHE_VERSION: "2023-07-27"
3535

3636
# Modify this value to "invalidate" the secp cache.
3737
SECP_CACHE_VERSION: "2022-12-30"

.github/workflows/stylish-haskell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
env:
2929
# Modify this value to "invalidate" the cabal cache.
30-
CABAL_CACHE_VERSION: "2023-07-11"
30+
CABAL_CACHE_VERSION: "2023-07-27"
3131

3232
STYLISH_HASKELL_VERSION: "0.14.4.0"
3333

bench/cardano-topology/cardano-topology.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ license-files: LICENSE
1515
build-type: Simple
1616

1717
common project-config
18-
build-depends: base >= 4.14 && < 4.17
18+
build-depends: base >= 4.14 && < 5
1919
default-language: Haskell2010
2020
default-extensions: NoImplicitPrelude
2121
ghc-options: -Wall

bench/locli/locli.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ common project-config
1818
default-language: Haskell2010
1919
default-extensions: BangPatterns
2020
BlockArguments
21+
DataKinds
2122
DeriveGeneric
2223
DerivingStrategies
2324
DerivingVia
@@ -38,7 +39,6 @@ common project-config
3839
TupleSections
3940
TypeApplications
4041
TypeFamilies
41-
TypeInType
4242
ViewPatterns
4343

4444
ghc-options: -Wall
@@ -49,7 +49,7 @@ common project-config
4949
-Wcompat
5050
-Wno-all-missed-specialisations
5151

52-
build-depends: base >= 4.14 && < 4.17,
52+
build-depends: base >= 4.14 && < 5,
5353

5454
if os(windows)
5555
buildable: False

bench/locli/src/Cardano/Analysis/API/Field.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{-# LANGUAGE TypeInType #-}
1+
{-# LANGUAGE PolyKinds #-}
22
{-# LANGUAGE ScopedTypeVariables #-}
33
module Cardano.Analysis.API.Field (module Cardano.Analysis.API.Field) where
44

bench/locli/src/Cardano/Analysis/API/Ground.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE PolyKinds #-}
12
{-# LANGUAGE DeriveAnyClass #-}
23
{-# LANGUAGE GeneralisedNewtypeDeriving #-}
34
{-# OPTIONS_GHC -Wno-orphans #-}
@@ -67,7 +68,7 @@ instance ToJSONKey Hash where
6768
instance FromJSONKey Hash where
6869
fromJSONKey = FromJSONKeyText (Hash . fromText)
6970

70-
newtype Count a = Count { unCount :: Int }
71+
newtype Count (a :: k) = Count { unCount :: Int }
7172
deriving (Eq, Generic, Ord, Show)
7273
deriving newtype (Divisible, FromJSON, Num, Real, ToJSON)
7374
deriving anyclass NFData

bench/locli/src/Cardano/Analysis/API/Metrics.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{-# LANGUAGE PolyKinds #-}
12
{-# LANGUAGE EmptyDataDeriving #-}
23
{-# LANGUAGE GeneralisedNewtypeDeriving #-}
34
{-# LANGUAGE UndecidableInstances #-}

bench/locli/src/Cardano/Analysis/API/Types.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
{-# LANGUAGE PolyKinds #-}
12
{-# LANGUAGE DeriveAnyClass #-}
23
{-# LANGUAGE GeneralisedNewtypeDeriving #-}
34
{-# LANGUAGE QuantifiedConstraints #-}
45
{-# LANGUAGE UndecidableInstances #-}
5-
{-# LANGUAGE TypeInType #-}
66
{-# LANGUAGE TypeSynonymInstances #-}
77
{-# OPTIONS_GHC -Wno-name-shadowing -Wno-orphans #-}
88
module Cardano.Analysis.API.Types (module Cardano.Analysis.API.Types) where

0 commit comments

Comments
 (0)