Skip to content

Commit

Permalink
Update to stack LTS 20.12
Browse files Browse the repository at this point in the history
  • Loading branch information
plajjan committed Jul 16, 2023
1 parent 4684003 commit efe12e7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -qy bzip2 curl haskell-stack make procps zlib1g-dev
- name: "Upgrade stack on old distributions"
if: ${{ (matrix.os == 'ubuntu') && (matrix.version == '20.04') }}
- name: "Upgrade stack to work with GHC 9.2"
run: |
stack upgrade
echo "PATH=~/.local/bin:$PATH" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion compiler/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# NOTE: do not forget to update homebrew/Formula/acton.rb with the version of
# GHC that corresponds to the stack LTS release, like lts-18.28 -> [email protected]
resolver: lts-18.28
resolver: lts-20.11

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down
8 changes: 4 additions & 4 deletions compiler/stack.yaml.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ packages:
hackage: dir-traverse-0.2.3.0
snapshots:
- completed:
sha256: 428ec8d5ce932190d3cbe266b9eb3c175cd81e984babf876b64019e2cbe4ea68
size: 590100
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/28.yaml
original: lts-18.28
sha256: adbc602422dde10cc330175da7de8609e70afc41449a7e2d6e8b1827aa0e5008
size: 649342
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/11.yaml
original: lts-20.11
2 changes: 1 addition & 1 deletion homebrew/Formula/acton.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Acton < Formula
# TODO: can gettext be removed? it was likely necessary when we built deps
# using autoconf, but might not be needed now that we use build.zig?
depends_on "gettext" => :build
depends_on "ghc@8.10" => :build
depends_on "ghc@9.2" => :build
depends_on "haskell-stack" => :build

on_linux do
Expand Down

0 comments on commit efe12e7

Please sign in to comment.