Skip to content

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

Merged
mochaaP merged 1 commit into
nvimtools:mainfrom
jfly:simplify-nix_flake_fmt
May 3, 2025
Merged

chore: rework nix_flake_fmt to use the new nix formatter subcommand#279
mochaaP merged 1 commit into
nvimtools:mainfrom
jfly:simplify-nix_flake_fmt

Conversation

@jfly
Copy link
Copy Markdown
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