Skip to content

Commit 9fca35d

Browse files
committed
REVERT ME: temporary workaround for haskell.org outage
1 parent fad5980 commit 9fca35d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.gitlab/ci.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,20 @@ case "$(uname -s)" in
3333
"Darwin"|"darwin")
3434
case "$(/usr/bin/arch)" in
3535
aarch64|arm64|armv8l)
36-
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -arm64 /bin/bash
36+
curl --proto '=https' --tlsv1.2 -sSf https://gitlab.haskell.org/haskell/ghcup-hs/-/raw/master/scripts/bootstrap/bootstrap-haskell | arch -arm64 /bin/bash
3737
;;
3838
*)
39-
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
39+
curl --proto '=https' --tlsv1.2 -sSf https://gitlab.haskell.org/haskell/ghcup-hs/-/raw/master/scripts/bootstrap/bootstrap-haskell | sh
4040
;;
4141
esac
4242
;;
4343
*)
44-
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
44+
curl --proto '=https' --tlsv1.2 -sSf https://gitlab.haskell.org/haskell/ghcup-hs/-/raw/master/scripts/bootstrap/bootstrap-haskell | sh
4545
;;
4646
esac
4747

48+
ghcup config set url-source '{"OwnSource": "https://mirror.sjtu.edu.cn/ghcup/yaml/ghcup/data/ghcup-0.0.6.yaml"}'
49+
4850
case "$(uname)" in
4951
MSYS_*|MINGW*)
5052
# Shorten binary names

0 commit comments

Comments
 (0)