Skip to content

fix(builder): nix-builder-box ssl-cert-file + re-pin (prx-zj8 cutover)#851

Merged
bdelanghe merged 2 commits into
mainfrom
prx-zj8-builder-sslcert
Jun 29, 2026
Merged

fix(builder): nix-builder-box ssl-cert-file + re-pin (prx-zj8 cutover)#851
bdelanghe merged 2 commits into
mainfrom
prx-zj8-builder-sslcert

Conversation

@bdelanghe

Copy link
Copy Markdown
Contributor

Slice 1 / PR3 (the cutover fix) of moving the nix builder onto podman.

During the live cutover I found the container's nix couldn't verify TLS to cache.nixos.org from the remote-build ssh session (it doesn't inherit the image SSL_CERT_FILE env) → it built every dep from source. Fix: set ssl-cert-file in the container's nix.conf (read regardless of env) + re-pin NIX_BUILDER_IMAGE to the fixed digest (@sha256:826d67c0…).

Verified live: with Lima stopped, the host nix daemon offloads a real OCI build (nix build .#packages.aarch64-linux.dolt-box, EXIT=0) to the nix-builder container — root→container ssh, substitution, and a deterministic build all work. (The dolt-data FOD hash-mismatches across builders — dolt clone isn't byte-reproducible — a separate Phase-2 note, not a builder issue.)

The live container + the host-side /etc/nix/machines registration are in place; removing the Lima builder line is the final operator (sudo) step.

🤖 Generated with Claude Code

bdelanghe and others added 2 commits June 28, 2026 23:23
…bstitution)

The remote-build ssh session doesn't inherit the image SSL_CERT_FILE env, so nix
couldn't verify TLS to cache.nixos.org → built deps from source. nix.conf is read
regardless of env. (prx-zj8 cutover fix)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…utover)

Verified: host nix daemon offloads a real build (dolt-box) to the container with
Lima stopped.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bdelanghe bdelanghe requested a review from a team as a code owner June 29, 2026 03:47
@github-code-quality

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / unit

The overall coverage remains at 88%, unchanged from the branch.


Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@bdelanghe bdelanghe merged commit f87b7af into main Jun 29, 2026
12 checks passed
@bdelanghe bdelanghe deleted the prx-zj8-builder-sslcert branch June 29, 2026 03:49
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.

2 participants