docs(nix): remove file discovery rule

This commit is contained in:
2026-09-26 23:12:18 -04:00
parent 34174d9424
commit b65efd8b24

View File

@@ -1,12 +0,0 @@
## Discover Nix files
### Rule
Use `util.collectNixFiles` to discover Nix files.
Do not use `builtins.readDir` with a `.nix` suffix filter for this purpose.
Pass `util` to Nix functions that need the helper.
### Rationale
`util.collectNixFiles` centralizes recursive discovery of Nix files.
Repository Nix code uses one implementation.