Files
nixfiles/nixos
jackos1998andClaude Opus 5.5 7694945041
CI / Check, build and cache nixfiles (push) Failing after 3h20m33s
Update docs / update (push) Canceled after 7m47s
nixos/containers: Hash rendered nspawn file
The container restart trigger hashed the whole `systemd.nspawn.<name>`
option value. Newer NixOS adds a `warnings` list to it, which embeds
module source paths. With lazy trees those paths change on every
evaluation, so the toplevel differed between `nix build` and `nix eval`
and CI failed to push `system-kelder`.

Hash the rendered `.nspawn` text instead, so containers restart exactly
when the file systemd reads changes. Older NixOS renders all units into
one directory, so fall back to the JSON hash there until 26.11.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:17:08 +00:00
..