docs: narrow NixOS maintainer validation defaults
This commit is contained in:
1 parent
d7a0acf0a9
commit
c14e31cc43
1 file changed
+6
-11
@@ -15,15 +15,10 @@ secret, credential, and application-owned state outside the Nix store. Verify
|
|||||||
unfamiliar pinned interfaces against the exact package source or current primary
|
unfamiliar pinned interfaces against the exact package source or current primary
|
||||||
documentation.
|
documentation.
|
||||||
|
|
||||||
Preserve unrelated work in a dirty tree. Make the smallest complete change,
|
Preserve unrelated work. Format touched Nix files and use the narrowest useful
|
||||||
format touched Nix files with the repository formatter, and validate only the
|
evaluation for configuration changes. Build affected hosts only when needed to
|
||||||
affected hosts. Ordinarily run:
|
resolve a concrete concern or explicitly requested; instruction-only edits do
|
||||||
|
not need system builds. Do not add tests or migration/compatibility code by
|
||||||
|
default. Explain manual steps for breaking changes.
|
||||||
|
|
||||||
```sh
|
Do not switch or boot a generation unless the user explicitly requests activation.
|
||||||
nix flake check --no-build --quiet
|
|
||||||
nix build --no-link --quiet .#nixosConfigurations.<host>.config.system.build.toplevel
|
|
||||||
```
|
|
||||||
|
|
||||||
Start with a narrower evaluation when it can fail faster. Inspect targeted
|
|
||||||
failure logs only. Do not switch or boot a generation unless the user explicitly
|
|
||||||
requests activation.
|
|
||||||
Reference in new issue
Block a user