summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-08-28 15:11:47 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-08-29 04:29:13 -0400
commitfc746e98d8ee7ac22224ba7d7fd1c38e16dfad30 (patch)
tree2cf092289bac98a09279d7f5b7cd94f21beec116 /.gitlab
parentbf9dfe1ca32270f5e946e0f8ac1bb97184de6e4c (diff)
downloadhaskell-fc746e98d8ee7ac22224ba7d7fd1c38e16dfad30.tar.gz
gitlab-ci: Fix URL of Darwin's cabal-install tarball
This was inadvertently referring to the cabal-install-latest/ directory which is volatile.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/darwin-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab/darwin-init.sh b/.gitlab/darwin-init.sh
index ba5de9db35..3dadc04dc1 100644
--- a/.gitlab/darwin-init.sh
+++ b/.gitlab/darwin-init.sh
@@ -23,7 +23,7 @@ if [ ! -e $toolchain/bin/ghc ]; then
fi
if [ ! -e $toolchain/bin/cabal ]; then
- cabal_tarball="https://downloads.haskell.org/~cabal/cabal-install-latest/cabal-install-2.4.1.0-x86_64-apple-darwin-sierra.tar.xz"
+ cabal_tarball="https://downloads.haskell.org/~cabal/cabal-install-$CABAL_INSTALL_VERSION/cabal-install-$CABAL_INSTALL_VERSION-x86_64-apple-darwin-sierra.tar.xz"
echo "Fetching cabal-install from $cabal_tarball"
curl $cabal_tarball | tar -xz
mv cabal $toolchain/bin