Skip to content

Conversation

@lexfrei
Copy link

@lexfrei lexfrei commented Nov 19, 2025

Summary

Add support for GHC 9.10.3 across supported platforms (Linux and macOS).

  • Add stackage snapshot configuration using LTS 24.19
  • Update CI workflow matrix to test GHC 9.10.3
  • Exclude Windows and bzlmod builds (consistent with recent GHC versions)

Changes

  • Created stackage_snapshot_9.10.3.yaml with LTS 24.19 resolver
  • Added GHC 9.10.3 to CI test matrices for nixpkgs and bindist workflows
  • Added symlink in rules_haskell_tests/ for test snapshot

Notes

The GHC 9.10.3 binary distributions already exist in ghc_bindist_generated.json for all platforms (darwin_amd64, darwin_arm64, linux_amd64, linux_arm64, windows_amd64).

Windows and bzlmod support excluded following the pattern of GHC 9.6.5 and 9.8.2.

Test Plan

  • CI will test GHC 9.10.3 on Ubuntu 24.04 and macOS 14
  • Both nixpkgs and bindist toolchains will be tested
  • All three workspaces (rules_haskell, rules_haskell_nix, rules_haskell_tests) covered

Add support for GHC 9.10.3 on ARM64 macOS platform:
- Add stackage snapshot using LTS 24.19
- Update CI workflow to test GHC 9.10.3 on supported platforms
- Exclude Windows and bzlmod for 9.10.3 (consistent with other recent GHC versions)

The GHC 9.10.3 bindist configuration already exists in ghc_bindist_generated.json.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>
@lexfrei lexfrei requested a review from avdv as a code owner November 19, 2025 16:09
@lexfrei lexfrei force-pushed the feat/add-ghc-9.10.3-arm64-macos branch from 5e90581 to 0aee9b8 Compare November 19, 2025 16:10
GHC 9.10.3 is not available in the current nixpkgs pin (2024-07-02).
Exclude it from test-nixpkgs job while keeping bindist tests which work.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>
@lexfrei lexfrei marked this pull request as draft November 20, 2025 12:04
Add generated stackage snapshot JSON files for GHC 9.10.3:
- stackage_snapshot_9.10.3.json in root and rules_haskell_tests/
- Additional test snapshot YAML files (ghcide, pinning-test)
- Update test_haddock.bzl with expected values for GHC 9.10.3

Also add CLAUDE.md with project guidance for Claude Code.

Co-Authored-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>
@lexfrei lexfrei marked this pull request as ready for review November 20, 2025 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant