Problem
Since a while, GH actions runs nixf-tidy to detect useless rec and unused variables.
While I'm generally in favor of this, the output sometimes lacks detail, and it's desirable to run some of the checks locally, to prevent spamming PR reviewers (and CI).
However, nixf-tidy and its usage is very sparsely documented.
nix-community/nixd#446 seems to have introduced it to nixd, yet there's neither a --help handler, nor documentation about the tool anywhere
Proposal
document nixf-tidy in both nixd repo, as well in the general nixpkgs contributing guideline and docs.
Checklist
Add a 👍 reaction to issues you find important.
Problem
Since a while, GH actions runs
nixf-tidyto detect uselessrecand unused variables.While I'm generally in favor of this, the output sometimes lacks detail, and it's desirable to run some of the checks locally, to prevent spamming PR reviewers (and CI).
However,
nixf-tidyand its usage is very sparsely documented.nix-community/nixd#446 seems to have introduced it to
nixd, yet there's neither a--helphandler, nor documentation about the tool anywhereProposal
document
nixf-tidyin bothnixdrepo, as well in the general nixpkgs contributing guideline and docs.Checklist
Add a 👍 reaction to issues you find important.