Skip to content

Commit

Permalink
Update to LTS-21, GHC 9.4.5, brick-1.9 (#1351)
Browse files Browse the repository at this point in the history
[Stackage LTS 21](https://www.stackage.org/blog/2023/06/announce-lts-21-nightly-ghc9.6) was just released, which is great news for us because it includes GHC 9.4.5 (GHC 9.4.4 was no longer supported by HLS) and we no longer have to rely on a specific "nightly" version.  This PR updates a few things to build with LTS-21.

The biggest thing I *didn't* update was our `lsp` dependency: LTS-21 comes with `lsp-2.0` and `lsp-types-2.0`, but those apparently introduce some breaking changes and it wasn't immediately apparent to me what would need to change.  I filed #1350 to track that issue.
  • Loading branch information
byorgey authored Jun 26, 2023
1 parent f1b0b09 commit 6a7063b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
9 changes: 6 additions & 3 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ extra-deps:
- fused-effects-lens-1.2.0.1@sha256:675fddf183215b6f3c1f2a0823359a648756435fd1966284e61830ec28ad61fa,1466
- hsnoise-0.0.3@sha256:260b39175b8a3e3b1719ad3987b7d72a3fd7a0fa99be8639b91cf4dc3f1c8796,1476
- simple-enumeration-0.2.1@sha256:8625b269c1650d3dd0e3887351c153049f4369853e0d525219e07480ea004b9f,1178
- servant-docs-0.12@sha256:f63abafd79f53c8cf1f14a2b9d2835cf4f46212ce798a20437b9fbffc45933a4,3383
- boolexpr-0.2@sha256:07f38a0206ad63c2c893e3c6271a2e45ea25ab4ef3a9e973edc746876f0ab9e8,853
- brick-list-skip-0.1.1.2
resolver: nightly-2023-01-11
- brick-list-skip-0.1.1.4
# We should update to lsp-2.0 and lsp-types-2.0 but it involves some
# breaking changes; see https://github.com/swarm-game/swarm/issues/1350
- lsp-1.6.0.0
- lsp-types-1.6.0.0
resolver: lts-21.0

4 changes: 2 additions & 2 deletions swarm.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ maintainer: byorgey@gmail.com
bug-reports: https://github.com/swarm-game/swarm/issues
copyright: Brent Yorgey 2021
category: Game
tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.2
tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.4 || ==9.4.5
extra-source-files: CHANGELOG.md
example/*.sw
editors/emacs/*.el
Expand Down Expand Up @@ -193,7 +193,7 @@ library
array >= 0.5.4 && < 0.6,
blaze-html >= 0.9.1 && < 0.9.2,
boolexpr >= 0.2 && < 0.3,
brick >= 1.5 && < 1.7,
brick >= 1.5 && < 1.10,
bytestring >= 0.10 && < 0.12,
clock >= 0.8.2 && < 0.9,
cmark-gfm >= 0.2 && < 0.3,
Expand Down

0 comments on commit 6a7063b

Please sign in to comment.