Skip to content

Commit aaf4c36

Browse files
committed
Add resolver for GHC 9.6 to start script
- use nightly for unsupported versions
1 parent eff074e commit aaf4c36

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

start

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ case "${MODE}" in
201201
;;
202202
esac > "${ZLIB_BUILD_FILE}"
203203

204-
SNAPSHOT=lts-20.3
205-
206204
case "$GHC_VERSION" in
207205
8.10.*)
208206
SNAPSHOT=lts-18.28
@@ -216,7 +214,11 @@ case "$GHC_VERSION" in
216214
9.4.*)
217215
SNAPSHOT=lts-21.5
218216
;;
217+
9.6.*)
218+
SNAPSHOT=lts-22.22
219+
;;
219220
*)
221+
SNAPSHOT=nightly-2024-05-24
220222
stderr "warning: unsupported GHC version: ${GHC_VERSION}, using stack resolver ${SNAPSHOT}"
221223
esac
222224

0 commit comments

Comments
 (0)