docs(nix): require natu checks

This commit is contained in:
2026-09-26 22:35:43 -04:00
parent 88da3220b5
commit da35c395b4
2 changed files with 5 additions and 4 deletions

View File

@@ -43,8 +43,6 @@
- Stage new files that Nix discovers through flake evaluation before testing.
Flake evaluation ignores untracked files, so auto-loaded modules must be tracked before
`nixos-rebuild --flake` can see them.
- After modifying Nix files, run `bazel run //src/natu:natu -- <paths>`.
Pass every modified Nix path as an argument.
## General guidelines

View File

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