fix(builder): nix-builder-box ssl-cert-file + re-pin (prx-zj8 cutover)#851
Merged
Conversation
…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>
Contributor
Code Coverage OverviewLanguages: TypeScript TypeScript / unitThe overall coverage remains at 88%, unchanged from the branch. Code Coverage is in Public Preview. Learn more and provide us with your feedback. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_FILEenv) → it built every dep from source. Fix: setssl-cert-filein the container's nix.conf (read regardless of env) + re-pinNIX_BUILDER_IMAGEto 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 thenix-buildercontainer — root→container ssh, substitution, and a deterministic build all work. (The dolt-data FOD hash-mismatches across builders —dolt cloneisn't byte-reproducible — a separate Phase-2 note, not a builder issue.)The live container + the host-side
/etc/nix/machinesregistration are in place; removing the Lima builder line is the final operator (sudo) step.🤖 Generated with Claude Code