on master help sign in
Setup proper GHC to get boot libraries
b43549dKirill Zaborsky
etc/curator-2-check.sh+6−1
@@ -2,6 +2,8 @@
2
2
3set -euxo pipefail
3set -euxo pipefail
4
4
5+export GHCVER=8.6.3
6+
5mkdir -p ~/.local/bin
7mkdir -p ~/.local/bin
6export PATH=$HOME/.local/bin:$PATH
8export PATH=$HOME/.local/bin:$PATH
7
9
@@ -12,9 +14,12 @@ bunzip2 "$CURATOR2.bz2"
12chmod +x $CURATOR2
14chmod +x $CURATOR2
13mv $CURATOR2 ~/.local/bin/stackage-curator-2
15mv $CURATOR2 ~/.local/bin/stackage-curator-2
14
16
17+# Install GHC
18+stack setup $GHCVER
19+
15# New curator check
20# New curator check
16stackage-curator-2 update &&
21stackage-curator-2 update &&
17 stackage-curator-2 constraints &&
22 stackage-curator-2 constraints &&
18 stackage-curator-2 snapshotincomplete &&
23 stackage-curator-2 snapshotincomplete &&
19 stackage-curator-2 snapshot &&
24 stackage-curator-2 snapshot &&
20− stackage-curator-2 checksnapshot
25+ stack --resolver ghc-$GHCVER exec stackage-curator-2 checksnapshot