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

fix: treefmt on nixos-unstable #398

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dantefromhell
Copy link
Contributor

nixpkgs@dcb250a introduced some changes to the treefmt package:

  • the treefmt package is treefmt v2 aka the go version)
  • the treefmt1 package throws an eval error

resulting in broken std devens as they trigger the eval error for treefmt1.

std@febf2ee explicitly selects the discontinued rust implementation due to unfixed bugs in 24.11 for treefmt < 2.1.1.

The std repo still uses the 23.11 nixpkgs release.

@blaggacao I'm not sure what the best path forward is for this change to not break backwards compatibility, please advise.

Until this is sorted I'll leave this PR as draft for further discussion.

@blaggacao
Copy link
Collaborator

Is there any need to switch to the new packages, while the old is still in nixpkgs? My reasoning is that once the new is a full and equal replacement, the old one will be removed and this code will just continue to wirk fine.

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