Skip to content

Commit 673f02b

Browse files
committed
Switch GHCup to vanilla channel
1 parent a310528 commit 673f02b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/common.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ install_ghcup() {
137137
else
138138
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_MINIMAL=1 sh
139139
source "$(dirname "${GHCUP_BIN}")/env"
140+
# make sure we use the vanilla channel for installing binaries
141+
# see https://github.com/haskell/ghcup-metadata/pull/166#issuecomment-1893075575
142+
ghcup config set url-source https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-vanilla-0.0.8.yaml
140143
ghcup install cabal --set "${BOOTSTRAP_HASKELL_CABAL_VERSION}"
141144
fi
142145
}

0 commit comments

Comments
 (0)