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

move treefmt.withConfig to a separate repo #204

Merged
merged 1 commit into from
Dec 28, 2022
Merged

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Dec 28, 2022

https://github.com/numtide/treefmt-nix now contains both the treefmt Nix
module configuration, and also a collection of pre-configured
formatters.

By moving that functionality over there, we can make use of the same
mechanisms on the treefmt package that is shipped with nixpkgs. Another
possibility might have been to add withConfig to nixpkgs, but from
experience nix code that is duplicated in nixpkgs starts evolving on its
own.

@zimbatm
Copy link
Member Author

zimbatm commented Dec 28, 2022

/cc @srid

https://github.com/numtide/treefmt-nix now contains both the treefmt Nix
module configuration, and also a collection of pre-configured
formatters.

By moving that functionality over there, we can make use of the same
mechanisms on the treefmt package that is shipped with nixpkgs. Another
possibility might have been to add withConfig to nixpkgs, but from
experience nix code that is duplicated in nixpkgs starts evolving on its
own.
@zimbatm zimbatm merged commit c70c933 into master Dec 28, 2022
@zimbatm zimbatm deleted the remove-withConfig branch December 28, 2022 15:09
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