diff options
Diffstat (limited to '.gitlab/darwin-init.sh')
-rw-r--r-- | .gitlab/darwin-init.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab/darwin-init.sh b/.gitlab/darwin-init.sh index e17c7c77fe..ba5de9db35 100644 --- a/.gitlab/darwin-init.sh +++ b/.gitlab/darwin-init.sh @@ -12,7 +12,9 @@ fi if [ ! -e $toolchain/bin/ghc ]; then mkdir -p tmp cd tmp - curl https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-x86_64-apple-darwin.tar.xz | tar -xJ + ghc_tarball="https://downloads.haskell.org/~ghc/$GHC_VERSION/ghc-$GHC_VERSION-x86_64-apple-darwin.tar.xz" + echo "Fetching GHC from $ghc_tarball" + curl $ghc_tarball | tar -xJ cd ghc-$GHC_VERSION ./configure --prefix=$toolchain make install @@ -22,6 +24,7 @@ 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" + echo "Fetching cabal-install from $cabal_tarball" curl $cabal_tarball | tar -xz mv cabal $toolchain/bin fi |