deploy: wait step builds nixpkgs#skopeo with multiple outputs — $skopeo path is two lines, exec always fails #226

Closed
opened 2026-07-25 09:40:17 +02:00 by dominik.polakovics · 0 comments

Root cause of the never-passing agent-tools wait gate, revealed by #224's stderr surfacing:

nix build --no-link --print-out-paths nixpkgs#skopeo prints one path per output, and skopeo in current nixpkgs has two (man and out):

/nix/store/giy0w...-skopeo-1.23.0-man
/nix/store/q9ds7...-skopeo-1.23.0

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^out so exactly one path is printed.

Root cause of the never-passing agent-tools wait gate, revealed by #224's stderr surfacing: `nix build --no-link --print-out-paths nixpkgs#skopeo` prints one path per output, and skopeo in current nixpkgs has two (`man` and `out`): /nix/store/giy0w...-skopeo-1.23.0-man /nix/store/q9ds7...-skopeo-1.23.0 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^out` so exactly one path is printed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Cloonar/coding-lab#226
No description provided.