build.sh: use stack-2.7.1

stack-2.5 warns about not supporting Cabal-3.2 or ghc > 8.10
This commit is contained in:
Jens Petersen 2021-06-17 14:06:13 +08:00
parent a4e9060dfd
commit 53190f7156

View File

@ -68,8 +68,7 @@ chmod +x curator
echo -n "curator version: "
docker run --rm -v $(pwd)/curator:/exe $IMAGE /exe --version
curl -L https://github.com/commercialhaskell/stack/releases/download/v2.5.1/stack-2.5.1-linux-x86_64-bin > stack
#curl -L "https://download.fpcomplete.com/stackage-curator-2/stack-fffc0a40e2253788f6b9cb7471c03fd571d69bde.bz2" | bunzip2 > stack
curl -L https://github.com/commercialhaskell/stack/releases/download/v2.7.1/stack-2.7.1-linux-x86_64-bin > stack
chmod +x stack
echo -n "stack version: "
docker run --rm -v $(pwd)/stack:/exe $IMAGE /exe --version