File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,20 @@ case "$(uname -s)" in
33
33
" Darwin" |" darwin" )
34
34
case " $( /usr/bin/arch) " in
35
35
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
37
37
;;
38
38
* )
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
40
40
;;
41
41
esac
42
42
;;
43
43
* )
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
45
45
;;
46
46
esac
47
47
48
+ ghcup config set url-source ' {"OwnSource": "https://mirror.sjtu.edu.cn/ghcup/yaml/ghcup/data/ghcup-0.0.6.yaml"}'
49
+
48
50
case " $( uname) " in
49
51
MSYS_* |MINGW* )
50
52
# Shorten binary names
You can’t perform that action at this time.
0 commit comments