Problem
The repo pins Bazel 8.1.1 in .bazelversion, but the Nix dev shell currently exposes pkgs.bazel_8, which resolves to Bazel 8.6.0 in the current lock. Running bazel in the dev shell fails before any target can run.
CI works because the shared JS Bazel workflow invokes Bazelisk, which reads .bazelversion and downloads Bazel 8.1.1. Local repo-managed startup should match that authority.
Scope
- Make the dev shell provide a Bazel entrypoint that respects
.bazelversion, likely Bazelisk from nixpkgs.
- Keep Node 22 and pnpm 9.15.9 aligned with package metadata.
- Document the intended local command path if needed.
Validation
direnv reload or nix develop enters cleanly.
bazel version reports 8.1.1, or the documented local command does.
npx --yes @bazel/bazelisk build //:pkg //:typecheck //:test --verbose_failures still passes.
Problem
The repo pins Bazel 8.1.1 in
.bazelversion, but the Nix dev shell currently exposespkgs.bazel_8, which resolves to Bazel 8.6.0 in the current lock. Runningbazelin the dev shell fails before any target can run.CI works because the shared JS Bazel workflow invokes Bazelisk, which reads
.bazelversionand downloads Bazel 8.1.1. Local repo-managed startup should match that authority.Scope
.bazelversion, likely Bazelisk from nixpkgs.Validation
direnv reloadornix developenters cleanly.bazel versionreports 8.1.1, or the documented local command does.npx --yes @bazel/bazelisk build //:pkg //:typecheck //:test --verbose_failuresstill passes.