Skip to content

Commit dc63c94

Browse files
committed
Remove GHCup vanilla channel from defaults
1 parent 7786314 commit dc63c94

3 files changed

Lines changed: 24 additions & 3 deletions

File tree

dist/index.js

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/setup-haskell.js

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/setup-haskell.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,14 @@ export default async function run(
4343
await core.group(`Preparing ghcup environment`, async () => {
4444
// Andreas Abel, 2026-01-01, https://github.com/haskell-actions/setup/issues/78
4545
// Add ghcup vanilla and prereleases channels by default.
46-
await addGhcupReleaseChannel('vanilla', os, arch);
46+
// Andreas Abel, 2026-01-11, https://github.com/haskell-actions/setup/issues/136
47+
// There are reasons not to include the vanilla channel by default:
48+
// mpickering write:
49+
// the "vanilla" channel is the bindists "as released by GHC upstream",
50+
// which is a change from the default, which provides curated bindists.
51+
// In particular on the cabal repo this meant a 9.0.2 bindist without
52+
// profiling libraries was downloaded by CI and caused a test to fail.
53+
// await addGhcupReleaseChannel('vanilla', os, arch);
4754
await addGhcupReleaseChannel('prereleases', os, arch);
4855
if (opts.ghcup.releaseChannel)
4956
await addGhcupReleaseChannel(

0 commit comments

Comments
 (0)