Binary release archive contains non-runnable Nix wrapper #163

Closed
opened 2026-05-07 23:31:42 -07:00 by jwilger · 0 comments
Owner

Problem

The published auto-review-0.8.0-linux-x86_64 artifact contains an auto-review shell wrapper instead of a self-contained runnable binary. After extraction, executing it fails because the wrapper points at Nix store paths that are not present on the target machine.

Observed behavior

$ ls
auto-review

$ ./auto-review
./auto-review: line 4: /nix/store/dh2swi6zfl7fzxpa9s4wpjdmlkmfak8x-ar-cli-0.8.0/bin/auto-review: No such file or directory

$ cat auto-review
#! /nix/store/i27rhb3nr65rkrwz36bchkwmav6ggsmn-bash-5.3p9/bin/bash -e
export AR_GATEWAY_EMBEDDED_OCI_BUNDLE_PATH=${AR_GATEWAY_EMBEDDED_OCI_BUNDLE_PATH-'/nix/store/s98gp341najwlwggpmmc3kw7ki5zgfzq-embedded-gateway-oci-rootfs'}
export AR_GATEWAY_EMBEDDED_OCI_RUNTIME_PATH=${AR_GATEWAY_EMBEDDED_OCI_RUNTIME_PATH-'/nix/store/yznzmpld1sbpc9cajf9s9azl9y44b5z8-youki-0.6.0/bin/youki'}
exec "/nix/store/dh2swi6zfl7fzxpa9s4wpjdmlkmfak8x-ar-cli-0.8.0/bin/auto-review"  "$@"

Expected behavior

The Linux x86_64 binary release archive should contain runnable binaries or a complete runtime closure that works after download/extraction on a supported host.

Notes

This likely needs release packaging validation that executes the extracted artifact outside the build-time Nix store assumptions.

## Problem The published `auto-review-0.8.0-linux-x86_64` artifact contains an `auto-review` shell wrapper instead of a self-contained runnable binary. After extraction, executing it fails because the wrapper points at Nix store paths that are not present on the target machine. ## Observed behavior ```console $ ls auto-review $ ./auto-review ./auto-review: line 4: /nix/store/dh2swi6zfl7fzxpa9s4wpjdmlkmfak8x-ar-cli-0.8.0/bin/auto-review: No such file or directory $ cat auto-review #! /nix/store/i27rhb3nr65rkrwz36bchkwmav6ggsmn-bash-5.3p9/bin/bash -e export AR_GATEWAY_EMBEDDED_OCI_BUNDLE_PATH=${AR_GATEWAY_EMBEDDED_OCI_BUNDLE_PATH-'/nix/store/s98gp341najwlwggpmmc3kw7ki5zgfzq-embedded-gateway-oci-rootfs'} export AR_GATEWAY_EMBEDDED_OCI_RUNTIME_PATH=${AR_GATEWAY_EMBEDDED_OCI_RUNTIME_PATH-'/nix/store/yznzmpld1sbpc9cajf9s9azl9y44b5z8-youki-0.6.0/bin/youki'} exec "/nix/store/dh2swi6zfl7fzxpa9s4wpjdmlkmfak8x-ar-cli-0.8.0/bin/auto-review" "$@" ``` ## Expected behavior The Linux x86_64 binary release archive should contain runnable binaries or a complete runtime closure that works after download/extraction on a supported host. ## Notes This likely needs release packaging validation that executes the extracted artifact outside the build-time Nix store assumptions.
jwilger added this to the 1.0 milestone 2026-05-08 11:43:27 -07:00
jwilger self-assigned this 2026-05-09 07:32:12 -07:00
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
Slipstream/auto_review#163
No description provided.