From f7868dc646835f5f9d192d6f4a96a508ebc85097 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 10 Jun 2021 13:57:02 +0200 Subject: [PATCH] Update install_deps --- .gitlab/before_script/darwin/install_deps.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab/before_script/darwin/install_deps.sh b/.gitlab/before_script/darwin/install_deps.sh index 92ffdda..cd7d1ac 100755 --- a/.gitlab/before_script/darwin/install_deps.sh +++ b/.gitlab/before_script/darwin/install_deps.sh @@ -7,7 +7,7 @@ set -eux mkdir -p "${TMPDIR}" if [ $ARCH = 'ARM64' ] ; then - curl -O https://downloads.haskell.org/~ghc/8.10.5/ghc-8.10.5-aarch64-apple-darwin.tar.xz + curl -L -O https://downloads.haskell.org/~ghc/8.10.5/ghc-8.10.5-aarch64-apple-darwin.tar.xz tar -xf ghc-*.tar.* cd ghc-* ./configure --prefix="${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/ghc/8.10.5 @@ -22,8 +22,8 @@ if [ $ARCH = 'ARM64' ] ; then cd .. rm -rf ghc-8.10.5 ghc-*.tar.* - curl -O https://github.com/haskell/cabal/files/6617482/cabal-install-3.5-arm64-darwin-11.4-bootstrapped.tar.gz - tar -xf cabal-install-* + curl -L -O https://github.com/haskell/cabal/files/6617482/cabal-install-3.5-arm64-darwin-11.4-bootstrapped.tar.gz + tar xf cabal-install-* mv cabal "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/bin/cabal rm -rf cabal-install else