Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build for GHC 9.6.+ #71

Merged
merged 4 commits into from
Oct 17, 2023
Merged

Update build for GHC 9.6.+ #71

merged 4 commits into from
Oct 17, 2023

Conversation

tadfisher
Copy link
Collaborator

@tadfisher tadfisher commented Oct 17, 2023

The enableSeparateBinOutput = false workaround shouldn't be required anymore as nixpkgs now patches Cabal for the affected GHC versions; see NixOS/nixpkgs#140774.

cmark-gfm has a too-restrictive version constraint on bytestring, so patch its cabal file. Unfortunately, the project's repo is archived (https://github.com/kivikakk/cmark-gfm-hs) so patching is necessary. It may be worthwhile to find some other library to parse and generate GitHub-flavored Markdown.

Move haskellOverlays to the top-level bindings of outputs and provide already-overridden Haskell package sets to both packages and devShells.

Update the GHC versions we use to the current versions in Nixpkgs per-minor version, to hopefully hit the Hydra cache more often.

Cancel in-progress CI jobs for the same PR, because I spawned like 30 workflow runs while working on this PR.

@tadfisher tadfisher requested a review from 9999years October 17, 2023 20:01
@tadfisher tadfisher force-pushed the update-ghc branch 4 times, most recently from 3929450 to 891b130 Compare October 17, 2023 20:22
@tadfisher tadfisher changed the title Update build for GHC 9.6.2 Update build for GHC 9.6.+ Oct 17, 2023
@9999years 9999years merged commit 16dfdc9 into master Oct 17, 2023
21 checks passed
@9999years 9999years deleted the update-ghc branch October 17, 2023 21:40
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.

2 participants