brendanhay / amazonka

A comprehensive Amazon Web Services SDK for Haskell.
https://amazonka.brendanhay.nz
Other
599 stars 227 forks source link

Ghc updates #856

Closed endgame closed 1 year ago

endgame commented 1 year ago

Attempt to bump the nixpkgs pin so we can follow modern GHC. The stackage_snapshot in WORKSPACE only works with ghc902 and I'm not sure how to fix it up so that we select a working snapshot for each GHC version.

Also, IOHK moved their cache's DNS name, so fix that.

We can't use the GHC 9.2.5 available in nixpkgs because of a regression in cabal; once everything else is working we can fix that: https://github.com/tweag/gazelle_haskell_modules#using-ghc-version-92

endgame commented 1 year ago

@brendanhay I'm really going to need your help on this one - I only have a very basic understanding of bazel.

joshburgess commented 1 year ago

Any updates on this? It would really be nice to be able to get onto GHC 9.2.5 now that the rest of the ecosystem (HLS, etc.) is now reliably using it.

endgame commented 1 year ago

We've been using GHC9.2.x and Amazonka main at work for most of the year. This PR is more about getting as close to 9.4 or 9.6 support as possible.

If GHC 9.2.x doesn't work for you on main, please file an issue and I'll take a look.

brendanhay commented 1 year ago

Seems this is no longer necessary, closing!

endgame commented 1 year ago

Yep, not required.