Skip to content
Snippets Groups Projects

Prepade 0.1.15.1

Merged Julian Ospald requested to merge prepare-0.1.15.1 into master
Files
3
@@ -7,13 +7,15 @@ set -eux
@@ -7,13 +7,15 @@ set -eux
mkdir -p "${TMPDIR}"
mkdir -p "${TMPDIR}"
if [ $ARCH = 'ARM64' ] ; then
if [ $ARCH = 'ARM64' ] ; then
 
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
curl -sSfL https://downloads.haskell.org/~ghcup/0.1.15.1/aarch64-apple-darwin-ghcup-0.1.15.1 > ./ghcup-bin
curl -sSfL https://downloads.haskell.org/~ghcup/0.1.15.1/aarch64-apple-darwin-ghcup-0.1.15.1 > ./ghcup-bin
 
chmod +x ghcup-bin
else
else
curl -sSfL https://downloads.haskell.org/~ghcup/x86_64-apple-darwin-ghcup > ./ghcup-bin
curl -sSfL https://downloads.haskell.org/~ghcup/x86_64-apple-darwin-ghcup > ./ghcup-bin
 
chmod +x ghcup-bin
 
./ghcup-bin upgrade -i -f
fi
fi
chmod +x ghcup-bin
./ghcup-bin upgrade -i -f
./ghcup-bin install ${GHC_VERSION}
./ghcup-bin install ${GHC_VERSION}
./ghcup-bin set ${GHC_VERSION}
./ghcup-bin set ${GHC_VERSION}
./ghcup-bin install-cabal ${CABAL_VERSION}
./ghcup-bin install-cabal ${CABAL_VERSION}
Loading