Skip to content

Commit

Permalink
[macos11] Unlink brew ghc and cabal-install (actions#8778)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-mubarakshin authored Nov 11, 2023
1 parent df292be commit e5b8919
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions images/macos/provision/core/haskell.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit e5b8919

Please sign in to comment.