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 Dec 28, 2022
1 parent 2290c15 commit 131c441
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 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
6 changes: 3 additions & 3 deletions compiler/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# A snapshot resolver dictates the compiler version and the set of packages
# to be used for project dependencies.

# NOTE: do not forget to update homebrew-acton/Formula/acton.rb with the
# version of GHC that corresponds to the stack LTS release
resolver: lts-18.12
# 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-20.4

# 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:
size: 586041
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/12.yaml
sha256: 80fc6391195ff00c36f2a605ecbb07de909bfaa2eaa9722a27e486a6ecf8ecb0
original: lts-18.12
size: 648660
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/4.yaml
sha256: 3770dfd79f5aed67acdcc65c4e7730adddffe6dba79ea723cfb0918356fc0f94
original: lts-20.4
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 131c441

Please sign in to comment.