tenant-init sealConfig one-liner missing trailing semicolon (Nix syntax error) #10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
dito tenant-initgenerates asealConfigblock as a one-liner without a trailing semicolon:Nix requires a semicolon after the closing brace of an attribute value. The generated file fails
nix evalwith:The fix is to format it as a multi-line attrset (matching the other tenant files):
Reproduction
dito tenant-init <slug> ... --dry-run— inspect the rendered NixsealConfigline ends with};but on a single line — Nix parser rejects itdito tenant-converge <slug>fails withnix evalsyntax errorEnvironment
The multi-line sealConfig rendering + regression guard lands in dit-operator PR #268 (merged). The original one-liner was already syntactically valid in v1.9.0; this hardens the format + adds a trailing-semicolon regression test.