deploy: wait step builds nixpkgs#skopeo with multiple outputs — $skopeo path is two lines, exec always fails #226
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/coding-lab#226
Loading…
Add table
Add a link
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?
Root cause of the never-passing agent-tools wait gate, revealed by #224's stderr surfacing:
nix build --no-link --print-out-paths nixpkgs#skopeoprints one path per output, and skopeo in current nixpkgs has two (manandout):The step's
skopeo="$(nix build ...)/bin/skopeo"captures both lines, so every invocation tried to exec...-man<newline>.../bin/skopeo→ 'No such file or directory' on every retry, for the gate's whole lifetime (#221 onward) — indistinguishable, pre-#224, from the tag not resolving.Fix: build
nixpkgs#skopeo^outso exactly one path is printed.