Skip to content

Commit

Permalink
Update to stack LTS 20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
plajjan committed Feb 13, 2023
1 parent 04da0fb commit 6817ce2
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 @@ -119,8 +119,7 @@ jobs:
apt-get update
apt-get install -qy automake autopoint bison bzip2 curl git gcc haskell-stack libtool make pkg-config procps python3
apt-get install -qy libprotobuf-c-dev 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
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "gettext" => :build
depends_on "ghc@8.10" => :build
depends_on "ghc@9.2" => :build
depends_on "haskell-stack" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
Expand Down

0 comments on commit 6817ce2

Please sign in to comment.