Skip to content

fix Nix build; update optparse-applicative dependency#280

Merged
dorchard merged 4 commits intomainfrom
nix-flake-bump
Dec 18, 2025
Merged

fix Nix build; update optparse-applicative dependency#280
dorchard merged 4 commits intomainfrom
nix-flake-bump

Conversation

@raehik
Copy link
Collaborator

@raehik raehik commented Dec 2, 2025

Nix build now uses GHC 9.4, matching recent changes.
I had to update optparse-applicative. This necessitated adding a couple more extra-deps to the Stack config.

Should fix #277 .

@raehik
Copy link
Collaborator Author

raehik commented Dec 3, 2025

Ack, this Stack resolver really needs the older optparse-applicative.

@raehik
Copy link
Collaborator Author

raehik commented Dec 3, 2025

I had to allow-newer. Now the Stack config is (more) fragile.

optparse-applicative bump requires more changes.

optparse-applicative now uses prettyprinter internally.
Necessitates minimal changes in two CLI tools.
@raehik
Copy link
Collaborator Author

raehik commented Dec 3, 2025

History cleaned up. CI gets far enough, I don't believe the test failures are from my changes.

@raehik
Copy link
Collaborator Author

raehik commented Dec 3, 2025

This is ready for review :)

@BinderDavid BinderDavid self-requested a review December 18, 2025 13:15
Copy link
Contributor

@BinderDavid BinderDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dorchard dorchard merged commit 645e5e0 into main Dec 18, 2025
1 check failed
dorchard pushed a commit that referenced this pull request Dec 18, 2025
* update optparse-applicative usage

optparse-applicative now uses prettyprinter internally.
Necessitates minimal changes in two CLI tools.

* add lower bound for optparse-applicative

* update Nix flake

* fix Stack build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Language Server Failing to Build in Nix Flake

3 participants