Add nix flake checks #2
Reference in New Issue
Block a user
Delete Branch "add-nix-flake-check"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Makes it possible to quickly run
nsd-checkconfandnsd-checkzonelocally on the derivation outputs by runningnix flake check.pkgsinstantiation inforAllSystems8acff15072checks, addcheckPhases withnsd-check*tests f604e300edI think the diff looks cool, and this is useful, but am I misunderstanding
nix flake checkor do the checks seem to pass when they shouldn't?mkDerivationto get proper build logs9e525750cato75457ae427&&interacted differently with errexit than I had expected, new patch should fix itVery cool, kanye! Looks like improvements all around.
Initially, I would want the zone checks to not pass silently if we broke the generating code to produce a
zoneConfigsattrset with some or all of the zones missing (can't have broken zones if you don't have any zones), but the CI deploy job already explicitly checks all the expected zones, so this is fine, as long as we don't change the CI test job to just use the nix checks.