Update install_deps
This commit is contained in:
parent
e742be7693
commit
f7868dc646
@ -7,7 +7,7 @@ set -eux
|
|||||||
mkdir -p "${TMPDIR}"
|
mkdir -p "${TMPDIR}"
|
||||||
|
|
||||||
if [ $ARCH = 'ARM64' ] ; then
|
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.*
|
tar -xf ghc-*.tar.*
|
||||||
cd ghc-*
|
cd ghc-*
|
||||||
./configure --prefix="${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/ghc/8.10.5
|
./configure --prefix="${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/ghc/8.10.5
|
||||||
@ -22,8 +22,8 @@ if [ $ARCH = 'ARM64' ] ; then
|
|||||||
cd ..
|
cd ..
|
||||||
rm -rf ghc-8.10.5 ghc-*.tar.*
|
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
|
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-*
|
tar xf cabal-install-*
|
||||||
mv cabal "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/bin/cabal
|
mv cabal "${GHCUP_INSTALL_BASE_PREFIX}"/.ghcup/bin/cabal
|
||||||
rm -rf cabal-install
|
rm -rf cabal-install
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user