make build-bin: on Linux, build with bun's pinned release build (closes #240) #248

Merged
clawbot merged 2 commits from issue-240-system-loader into next 2026-11-12 00:28:48 +01:00
2 Commits
Author SHA1 Message Date
sneak 685f1d584c Test script/build-bin's archive choice, hash check and refusal
check / check (push) Successful in 3m51s
The test runs the script with stub uname, ldd, curl, unzip and nix-shell
first on PATH, so it needs no network and no bun. The download and the
compile stay untested.

Model: opus-5-5
2026-11-11 22:52:58 +00:00
sneak 674fdeb482 make build-bin: on Linux, build with bun's pinned release build (closes #240)
nix's bun loads through a glibc in the nix store, and bun build --compile
copied that loader into bin/quak, so nix-collect-garbage could break the
cron backup. The build moves into script/build-bin. On Linux it downloads
bun 1.3.13's release archive for the machine from GitHub: x86-64
(baseline) or arm64, glibc or musl. It checks the archive's SHA-256
before running it, and compiles with that bun, so the binary loads
through the system loader. macOS still runs bun through nix-shell.

Model: opus-5-5
2026-11-11 22:40:51 +00:00