Skip to content

Fix local Nix dev shell Bazel authority #25

@Jesssullivan

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions