Closed srid closed 1 month ago
Not all checks are done by building a derivation (what nixci build does currently).
nixci build
For eg., nix flake check tests for unknown properties in templates.* and errors out:
nix flake check
templates.*
https://github.com/NixOS/nix/blob/babfd0cd99012df9d645d38e47fa31d049bf01d8/src/nix/flake.cc#L550-L554
The above will not be caught by nixci build.
Do we care to support this niche case, though?
--
More generally, nix flake check does a bunch of "Evaluation checks":
I wonder if we can decouple these checks through flake-schemas.
flake-schemas
Moved to https://github.com/juspay/omnix/issues/200
Not all checks are done by building a derivation (what
nixci build
does currently).For eg.,
nix flake check
tests for unknown properties intemplates.*
and errors out:https://github.com/NixOS/nix/blob/babfd0cd99012df9d645d38e47fa31d049bf01d8/src/nix/flake.cc#L550-L554
The above will not be caught by
nixci build
.Do we care to support this niche case, though?
--
More generally,
nix flake check
does a bunch of "Evaluation checks":