Skip to content

Commit

Permalink
chore: upgrade to GHC 9.10.1
Browse files Browse the repository at this point in the history
Note that Protolude upstream doesn't support GHC 9.10, so we use
a (hopefully temporary) fork.

Signed-off-by: Drew Hess <[email protected]>
  • Loading branch information
dhess committed Jul 18, 2024
1 parent e7be104 commit e27bf64
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 17 deletions.
20 changes: 9 additions & 11 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,7 @@ haddock-quickjump: True
haddock-hyperlink-source: True
haddock-internal: True

allow-newer:
, hedgehog-classes:hedgehog
, hedgehog-classes:pretty-show
, hedgehog:pretty-show
, logging-effect:base
, refined:base
, refined:deepseq
, refined:template-haskell
, refined:aeson
, these-skinny:base
, selda:bytestring
allow-newer: all

package *
ghc-options: -fwrite-ide-info
Expand All @@ -58,6 +48,14 @@ if arch(wasm32)
package tasty
flags: -unix

-- Protolude upstream doesn't support GHC 9.10, and appears to
-- be dormant.
source-repository-package
type: git
location: https://github.com/tomjaguarpaw/protolude
tag: 57ffd726d9685a862df8c9773f3eb09de2b89594
--sha256: 1z9z887s4f1wv0pv3njyd8h8zgr2ha89jyvaxz3k5k3rk6h2g1cp

-- We need a newer version of Selda than what's been released to
-- Hackage, plus some GHC 9.6 fixes from a community fork.
source-repository-package
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
in
builtins.trace "Nix Primer version is ${v}" "git-${v}";

ghcVersion = "ghc982";
ghcVersion = "ghc9101";

# We must keep the weeder version in sync with the version of
# GHC we're using.
Expand Down
2 changes: 1 addition & 1 deletion primer-api/primer-api.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ library
-Wmissing-deriving-strategies -fhide-source-paths

build-depends:
, base >=4.12 && <4.20
, base >=4.12 && <4.21
, containers >=0.6.0.1 && <0.7.0
, deriving-aeson >=0.2 && <0.3.0
, extra >=1.7.10 && <1.8.0
Expand Down
2 changes: 1 addition & 1 deletion primer-benchmark/primer-benchmark.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ library
exposed-modules: Benchmarks
build-depends:
, aeson >=2.0 && <2.3
, base >=4.12 && <4.20
, base >=4.12 && <4.21
, containers >=0.6.0.1 && <0.7.0
, criterion ^>=1.6.0.0
, deepseq ^>=1.5
Expand Down
2 changes: 1 addition & 1 deletion primer-selda/primer-selda.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ library

build-depends:
, aeson >=2.0 && <2.3
, base >=4.12 && <4.20
, base >=4.12 && <4.21
, bytestring >=0.10.8.2 && <0.13
, containers >=0.6.0.1 && <0.7.0
, logging-effect ^>=1.4
Expand Down
2 changes: 1 addition & 1 deletion primer-service/primer-service.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ library

build-depends:
, aeson >=2.0 && <2.3
, base >=4.12 && <4.20
, base >=4.12 && <4.21
, containers >=0.6.0.1 && <0.8
, deriving-aeson >=0.2 && <0.3.0
, exceptions >=0.10.4 && <0.11.0
Expand Down
2 changes: 1 addition & 1 deletion primer/primer.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ library
build-depends:
, aeson >=2.0 && <2.3
, assoc ^>=1.1
, base >=4.12 && <4.20
, base >=4.12 && <4.21
, base64-bytestring ^>=1.2.1
, containers >=0.6.0.1 && <0.7.0
, deriving-aeson >=0.2 && <0.3.0
Expand Down

0 comments on commit e27bf64

Please sign in to comment.