docs(nix): run natu during reviews

This commit is contained in:
2026-09-26 23:00:44 -04:00
parent 0cfd7c260c
commit e4ccf58296

View File

@@ -12,10 +12,16 @@ After editing Nix files, run:
```bash
nix run .#fix
bazel run //src/natu:natu -- <modified-nix-paths>
```
Pass every modified Nix path to Natu.
After editing or reviewing Nix files, run:
Finish when both commands succeed and the Nix change follows the loaded rules.
```bash
bazel run //src/natu:natu -- <nix-paths>
```
Pass every edited or reviewed Nix path to Natu.
Finish an edit when both commands succeed and the Nix change follows the loaded rules.
Finish a review when Natu succeeds and the reviewed code follows the loaded rules.
If a command fails, report the failure.