Skip to content
Snippets Groups Projects
Unverified Commit bbb161e7 authored by Julian Ospald's avatar Julian Ospald :tea:
Browse files

Fix armv7

parent ba8070ec
No related branches found
No related tags found
No related merge requests found
Pipeline #57112 canceled
...@@ -19,22 +19,23 @@ fi ...@@ -19,22 +19,23 @@ fi
case "${ARCH}" in case "${ARCH}" in
"ARM") "ARM")
url=https://downloads.haskell.org/~ghcup/0.1.16.1/armv7-linux-ghcup-0.1.16.1 url=https://downloads.haskell.org/~ghcup/0.1.17.8/armv7-linux-ghcup-0.1.17.8
;; ;;
"ARM64") "ARM64")
url=https://downloads.haskell.org/~ghcup/0.1.16.1/aarch64-linux-ghcup-0.1.16.1 url=https://downloads.haskell.org/~ghcup/0.1.17.8/aarch64-linux-ghcup-0.1.17.8
;; ;;
*) *)
url=https://downloads.haskell.org/~ghcup/0.1.16.1/x86_64-linux-ghcup-0.1.16.1 url=https://downloads.haskell.org/~ghcup/0.1.17.8/x86_64-linux-ghcup-0.1.17.8
;; ;;
esac esac
curl -sSfL "${url}" > ./ghcup-bin curl -sSfL "${url}" > ./ghcup-bin
chmod +x ghcup-bin
./ghcup-bin -v upgrade -f mv ghcup-bin "$GHCUP_INSTALL_BASE_PREFIX"/ghcup/bin/ghcup
chmod +x "$GHCUP_INSTALL_BASE_PREFIX"/ghcup/bin/ghcup
ghcup install ghc ${GHC_VERSION} || { cat "${GHCUP_INSTALL_BASE_PREFIX}"/logs/* ; exit 1 ; } ghcup install ghc ${GHC_VERSION} || { cat "${GHCUP_INSTALL_BASE_PREFIX}"/logs/* ; exit 1 ; }
ghcup set ghc ${GHC_VERSION} ghcup set ghc ${GHC_VERSION}
ghcup install cabal ${CABAL_VERSION} ghcup install cabal ${CABAL_VERSION}
rm ghcup-bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment