Skip to content

chore: rework nix_flake_fmt to use the new nix formatter subcommand #279

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

Merged
merged 1 commit into from
May 3, 2025

Conversation

jfly
Copy link
Collaborator

@jfly jfly commented May 1, 2025

Core nix accepted my PR to add a new nix formatter build command!

That means we can (eventually) get rid of this huge mess of code. I'm excited to try out the new feature, so I (unfortunately) made things even more complicated by adding a "new" and and "old" codepath. I've structured things so somebody with no knowledge of this code could remove the legacy codepath in the future.

Core `nix` accepted [my PR to add a new `nix formatter build`
command](NixOS/nix#13063)!

That means we can (eventually) get rid of this huge mess of code. I'm
excited to try out the new feature, so I (unfortunately) made things
even more complicated by adding a "new" and and "old" codepath.
I've structured things so somebody with no knowledge of this code could
remove the legacy codepath in the future.
@jfly jfly force-pushed the simplify-nix_flake_fmt branch from 8ec6d56 to d5494a4 Compare May 1, 2025 20:07
@mochaaP mochaaP merged commit 6ff3ab9 into nvimtools:main May 3, 2025
3 checks passed
@jfly jfly deleted the simplify-nix_flake_fmt branch May 3, 2025 16:05
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