gitlab-ci: Use cabal-install 2.4 on Darwin
authorBen Gamari <ben@smart-cactus.org>
Mon, 17 Dec 2018 01:32:45 +0000 (20:32 -0500)
committerBen Gamari <ben@smart-cactus.org>
Mon, 17 Dec 2018 17:44:49 +0000 (12:44 -0500)
.gitlab/darwin-init.sh

index 5561ca8..e17c7c7 100644 (file)
@@ -21,7 +21,7 @@ if [ ! -e $toolchain/bin/ghc ]; then
 fi
 
 if [ ! -e $toolchain/bin/cabal ]; then
-    cabal_tarball="https://www.haskell.org/cabal/release/cabal-install-2.2.0.0/cabal-install-2.2.0.0-x86_64-apple-darwin-sierra.tar.gz"
+    cabal_tarball="https://downloads.haskell.org/~cabal/cabal-install-latest/cabal-install-2.4.1.0-x86_64-apple-darwin-sierra.tar.xz"
     curl $cabal_tarball | tar -xz
     mv cabal $toolchain/bin
 fi