@@ -11,11 +11,8 @@ export PATH=$HOME/.local/bin:$PATH
1111curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
1212
1313# Get new Stackage curator
14−CURATOR2=curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2
15−wget "https://download.fpcomplete.com/stackage-curator-2/$CURATOR2.bz2"
16−bunzip2 "$CURATOR2.bz2"
17−chmod +x $CURATOR2
18−mv $CURATOR2 ~/.local/bin/stackage-curator-2
14+curl "https://download.fpcomplete.com/stackage-curator-2/curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2" | bunzip2 > curator
15+chmod +x curator
1916
2017# Install GHC
2118stack setup $GHCVER
@@ -24,8 +21,8 @@ stack setup $GHCVER
2421# because of a different constraints handling in minor LTS version bumps
2522NIGHTLY="nightly-$(date +%Y-%m-%d)"
2623# New curator check
27−stackage-curator-2 update &&
28− stackage-curator-2 constraints --target=$NIGHTLY &&
29− stackage-curator-2 snapshot-incomplete &&
30− stackage-curator-2 snapshot &&
31− stack --resolver ghc-$GHCVER exec stackage-curator-2 check-snapshot
24+./curator update &&
25+ ./curator constraints --target=$NIGHTLY &&
26+ ./curator snapshot-incomplete --target=$NIGHTLY &&
27+ ./curator snapshot &&
28+ stack --resolver ghc-$GHCVER exec ./curator check-snapshot