Skip to content

nix: prebuilt trunk/wasm-bindgen binaries, deprecate x86_64-darwin, bump macOS runner - #191

Merged
ck3mp3r merged 2 commits into
mainfrom
feature/prebuilt-nix-trunk
Nov 17, 2026
Merged

ck3mp3r merged 2 commits into
mainfrom
feature/prebuilt-nix-trunk

Conversation

@ck3mp3r

@ck3mp3r ck3mp3r commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Replace the source-built nix tool derivations with pinned prebuilt release binaries:
    • nix/trunk-bin.nix — trunk 0.22.1 official release artifacts (static musl linux, native darwin), fetched by sha256
    • nix/wasm-bindgen-cli-bin.nix — wasm-bindgen 0.2.129 release artifacts, wasm-bindgen binary only
    • wired at flake.nix overlay, nix/dev.nix, nix/packaging.nix; source derivations deleted
    • fresh Nix stores substitute tools instead of compiling; the devshell zstd panic is gone as a side effect
  • Deprecate x86_64-darwin (nixpkgs 26.11 dropped the system): removed from flake systems, packaging supportedTargets + installData, release workflow matrix and architectures list; data/x86_64-darwin.json deleted
  • Release workflow macOS runner bumped from macos-15 to macos-latest

Validation

  • All six tarball sha256 pins recomputed and cross-checked against upstream .sha256 / .sha256sum sidecars
  • dist byte-parity vs the source-built baseline: +12 B total, all in wasm producers metadata (the official CLI stamps release commit 165586f85); 13 of 14 dist files byte-identical
  • nix build .# compiles zero tool sources; nix flake check clean for the three remaining systems
  • cargo check --locked clean; no Cargo.lock / Cargo.toml / Trunk.toml changes in this PR

Records

  • c5t parent 754e2fbd, subtasks 4ba81f7b + 62199145, task 7e075b1f
  • review notes 70db510c (nix change) and 60eeb2cb (runner bump)

Replace source-built derivations with pinned upstream release binaries fetched by sha256:

- nix/trunk-bin.nix: trunk 0.22.1 official release artifacts (static musl linux, darwin native)

- nix/wasm-bindgen-cli-bin.nix: wasm-bindgen 0.2.129 release artifacts, wasm-bindgen binary only
- wired at flake.nix overlay, nix/dev.nix, nix/packaging.nix; source derivations deleted
- fresh Nix stores substitute tools instead of compiling; devshell zstd panic gone as a side effect
- remove x86_64-darwin from flake systems, packaging supportedTargets + installData, release workflow matrix and architectures list; delete data/x86_64-darwin.json (nixpkgs 26.11 dropped the system)
- no changes to Cargo.lock, Cargo.toml, Trunk.toml, Formula/context.rb

Reviewed under c5t parent 754e2fbd (subtasks 4ba81f7b, 62199145); verdict note 70db510c. dist delta vs source-built baseline: +12 B in wasm producers metadata only.
Switch the release workflow build matrix macOS runner from the pinned macos-15 image to the GitHub-managed macos-latest label. The aarch64-darwin matrix entry keeps nix_system: aarch64-darwin and docker_arch: na; this is the only macOS runner reference in the repository.

c5t task 7e075b1f; review record note 60eeb2cb.
@ck3mp3r
ck3mp3r merged commit 4ce5056 into main Nov 17, 2026
2 checks passed
@ck3mp3r
ck3mp3r deleted the feature/prebuilt-nix-trunk branch November 17, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant