on master help sign in
Use Stack 1.9.3 in the build script (unpack compatibility)
commit42662ba432801a98935c15a5061f518b1344af1b authorMichael Snoyman <michael@snoyman.com> dateSun 16 Jun 2019, 05:23 (7 years ago) parent1962666
1 file changed+3−2
automated/build.sh+3−2
automated/build.sh+3−2
@@ -94,8 +94,9 @@ then
9494 docker run $ARGS_UPLOAD $IMAGE /bin/bash -c "exec stackage-curator check-target-available --target $TARGET"
9595fi
9696
97−# Get latest stack
98−curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C $EXTRA_BIN_DIR '*/stack'
97+# Get latest compatible stack
98+curl -L https://github.com/commercialhaskell/stack/releases/download/v1.9.3/stack-1.9.3-linux-x86_64-static.tar.gz | tar xz --wildcards --strip-components=1 -C $EXTRA_BIN_DIR '*/stack'
99+
99100
100101# Determine the new build plan unless NOPLAN is set
101102#