diff --git a/images/macos/provision/core/haskell.sh b/images/macos/provision/core/haskell.sh index ce9ba682..859a8c14 100644 --- a/images/macos/provision/core/haskell.sh +++ b/images/macos/provision/core/haskell.sh @@ -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"