bild: create out-link for Nix image builds

t-417·WorkTask·
·
·
Created1 month ago·Updated1 month ago

Description

Edit

bild does not produce the out-link for Nix image builds. We have to run a separate nix-build to create _/nix/... symlinks.

Expected:

  • bild Omni/Agentd/Images/Base.nix should create/update _ /nix/Omni/Agentd/Images/Base.nix out-link (like other bild outputs).

Actual:

  • bild succeeds but no out-link is created, so docker load < _/nix/... fails unless we run nix-build ... --out-link _/nix/... manually.

Goal:

  • Make bild create/update out-links for Nix image targets, or otherwise make bild + docker load < _/nix/... work without a manual nix-build step.

Notes:

  • This affects agentd container images (Base/Git/Haskell).
  • Prefer a general fix in bild rather than a one-off workaround.

Timeline (4)

🔄[human]Open → InProgress1 month ago
💬[human]1 month ago

Removed the executable-bit guard for NixBuild targets so nix-build runs for .nix images; ran lint Omni/Bild.hs (warning about file length only).

🔄[human]InProgress → Done1 month ago