Repository navigation
chore(nix): follow quest's nixpkgs so dev shells share one C compiler - #276
Conversation
mbx keys build scripts, proc-macros, and every crate built on them by the C compiler's store path, so repositories whose nixpkgs pins give different compilers share none of them. Taking nixpkgs from quest, whose release every repository locks, gives every dev shell the same one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
Problem
Each repository's dev shell takes its C compiler from its own nixpkgs pin. mbx keys every linked action, such as a build script or proc-macro, by that compiler's store path, so those crates and every crate built on them miss the shared cache between repositories whose pins give different compilers. On 2026-11-27 the org's dev shells gave three different x86_64-linux
stdenv.ccpaths.This repository's compiler already matched quest's; following quest keeps it matched as the pins move: any nixpkgs move that rebuilds stdenv changes the compiler's store path.
Approach
nixpkgs.follows = "quest/nixpkgs", and quest no longer follows ours. Every repository locks quest at the release moq-bot bumps it to, so one release gives every dev shell one compiler.Impact
nix flake update nixpkgsno longer moves it.Alternatives
Follow-ups
None.
Validation
nix evalof every dev shell'sstdenv.ccon x86_64-linux, aarch64-linux, and aarch64-darwin gives quest v0.28.1's nixpkgs' compiler.nix buildofdevShells.x86_64-linux.defaultsubstitutes everything but the shell itself.cargo check, rustc 1.98.1 in both shells): replaying the build in a shell on another pin's compiler hit 242 of 353 compilations (81 misses); on the same compiler it hit all 353.Models
🤖 Generated with Claude Code
(Written by Claude Opus 5.5 with high)
Review
Rewritten by
quest reviewafter each round.Head: 9c07f10
Base: origin/main at cccf65a
Risk: medium,
the base has no RISK.md to name what is always high or customer-facing, so every change is mediumClassified: medium by default
Risk file: none
Reviewer: Codex, gpt-6.2-sol, high effort
Session:
01a21dcd-bc88-76d2-a847-f2246d6acf42, round 1Score: 10/10,
Studio follows Quest’s nixpkgs pin, and the Rust overlay, Mesa recipes, and WirePlumber script still resolve the same locked revision.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none