Skip to content

Commit dc72e35

Browse files
committed
Upgrade stack to version 2.15.7
This fixes a problem caused by a hackage update which requires Cabal >= 3.10.2.0: ``` Command failed: /private/var/tmp/_bazel_runner/012ebef901b35ab57059adaadb7b0a50/external/rules_haskell~1.0~rules_haskell_dependencies~rules_haskell_stack/stack update Selected mirror https://hackage.haskell.org/ Downloading root <repo>/root.json does not have enough signatures signed with the appropriate keys ``` See haskell/cabal#11111
1 parent 504491b commit dc72e35

File tree

2 files changed

+14
-17
lines changed
  • haskell
  • rules_haskell_tests/tests/stack-snapshot-deps/hs_override_stack_test

2 files changed

+14
-17
lines changed

haskell/cabal.bzl

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,37 +1005,34 @@ be listed in `srcs` (crucially, including the `.cabal` file).
10051005
""",
10061006
)
10071007

1008-
_STACK_DEFAULT_VERSION = "2.7.5"
1008+
_STACK_DEFAULT_VERSION = "2.15.7"
10091009

10101010
# minimum required version
1011-
_STACK_MIN_VERSION = (2, 3)
1011+
_STACK_MIN_VERSION = (2, 15)
10121012

10131013
# Only ever need one version, but use same structure as for GHC bindists.
10141014
_STACK_BINDISTS = \
10151015
{
1016-
"2.7.5": {
1016+
"2.15.7": {
10171017
"linux-x86_64": (
1018-
"https://github.com/commercialhaskell/stack/releases/download/v2.7.5/stack-2.7.5-linux-x86_64-static.tar.gz",
1019-
"2a02fefefcc1758033d0aea566a521a290e3c68739ce9894bd6492a346af79c5",
1018+
"https://github.com/commercialhaskell/stack/releases/download/v2.15.7/stack-2.15.7-linux-x86_64.tar.gz",
1019+
"4e635d6168f7578a5694a0d473c980c3c7ed35d971acae969de1fd48ef14e030",
10201020
),
10211021
"linux-aarch64": (
1022-
# GHCup provides unofficial aarch64 linux binaries
1023-
# FIXME: use the official ones after upgrading to 2.9.1
1024-
"https://downloads.haskell.org/ghcup/unofficial-bindists/stack/2.7.5/stack-2.7.5-linux-aarch64.tar.gz",
1025-
"f362fa4786b17252004b2619ec96b9687e561dc4e55c2612c53d60be767cabba",
1022+
"https://github.com/commercialhaskell/stack/releases/download/v2.15.7/stack-2.15.7-linux-aarch64.tar.gz",
1023+
"f0c4b038c7e895902e133a2f4c4c217e03c4be44aa5da48aec9f7947f4af090b",
10261024
),
10271025
"osx-x86_64": (
1028-
"https://github.com/commercialhaskell/stack/releases/download/v2.7.5/stack-2.7.5-osx-x86_64.tar.gz",
1029-
"94176b71425d76b94b088515103316ae1ff96d123344b1f4609c103d0d5bdcc4",
1026+
"https://github.com/commercialhaskell/stack/releases/download/v2.15.7/stack-2.15.7-osx-x86_64.tar.gz",
1027+
"ef97f65759a922bc7f5399d9311afdc4a43cc454b70ea7426f991c067899cef1",
10301028
),
10311029
"osx-aarch64": (
1032-
# GHCup provides unofficial aarch64 macOS binaries
1033-
"https://downloads.haskell.org/ghcup/unofficial-bindists/stack/2.7.5/stack-2.7.5-osx-aarch64.tar.gz",
1034-
"cea34367981ed6f5629d23d17957920b1a06cc0a00580ba62e960a64087f25fe",
1030+
"https://github.com/commercialhaskell/stack/releases/download/v2.15.7/stack-2.15.7-osx-aarch64.tar.gz",
1031+
"fc963f041fbe3ddf3ff12271c74334846a583a0714ce808d8a2d2c91de4a3968",
10351032
),
10361033
"windows-x86_64": (
1037-
"https://github.com/commercialhaskell/stack/releases/download/v2.7.5/stack-2.7.5-windows-x86_64.tar.gz",
1038-
"c9b07982590d63db2310a44bfcf33c9f8bd84a0828abc17b2a394e90fbf6a914",
1034+
"https://github.com/commercialhaskell/stack/releases/download/v2.15.7/stack-2.15.7-windows-x86_64.tar.gz",
1035+
"0e051f44aadcec138ffc1c1056bfec5c8216f0d256413c2e3a60ce55fe2db0ba",
10391036
),
10401037
},
10411038
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
echo 2.3.1
2+
echo 2.15.7

0 commit comments

Comments
 (0)