[macos11] Unlink brew ghc and cabal-install (#8778)

This commit is contained in:
Shamil Mubarakshin
2023-11-11 12:12:39 +01:00
committed by GitHub
parent df292beac6
commit e5b8919eeb

View File

@@ -1,5 +1,12 @@
#!/bin/bash -e -o pipefail
source ~/utils/utils.sh
# https://github.com/actions/runner-images/issues/8738
if is_BigSur; then
brew unlink ghc cabal-install
fi
curl --proto '=https' --tlsv1.2 -fsSL https://get-ghcup.haskell.org | sh
export PATH="$HOME/.ghcup/bin:$PATH"
echo 'export PATH="$PATH:$HOME/.ghcup/bin"' >> "$HOME/.bashrc"