build: add Bazel Rust workflow #2

Merged
alexion merged 1 commits from build/bazel-rust-workflow into main 2026-08-31 17:50:32 -04:00
Owner

Summary

  • Define the repo as a Bazel module.
  • Add rules_rust and a NixOS-compatible Rust toolchain adapter.
  • Add the initial machoke Rust package.
  • Add NixOS modules for Bazel, Rust tools, and monorepo development tooling.
  • Enable the monorepo development tooling on neogaia.

Validation

  • nix flake metadata --no-write-lock-file
  • nix eval .#nixosConfigurations.neogaia.config.modules.monorepo.enable --no-write-lock-file
  • nix shell nixpkgs#bazel nixpkgs#cargo nixpkgs#clippy nixpkgs#gcc nixpkgs#rustc nixpkgs#rustfmt -c bash -lc 'bazel build //src/machoke:machoke && bazel run //src/machoke:machoke'
## Summary - Define the repo as a Bazel module. - Add rules_rust and a NixOS-compatible Rust toolchain adapter. - Add the initial machoke Rust package. - Add NixOS modules for Bazel, Rust tools, and monorepo development tooling. - Enable the monorepo development tooling on neogaia. ## Validation - `nix flake metadata --no-write-lock-file` - `nix eval .#nixosConfigurations.neogaia.config.modules.monorepo.enable --no-write-lock-file` - `nix shell nixpkgs#bazel nixpkgs#cargo nixpkgs#clippy nixpkgs#gcc nixpkgs#rustc nixpkgs#rustfmt -c bash -lc 'bazel build //src/machoke:machoke && bazel run //src/machoke:machoke'`
alexion added 1 commit 2026-08-31 17:50:15 -04:00
alexion force-pushed build/bazel-rust-workflow from ca8cd11cf8 to 97cca46f4e 2026-08-31 17:50:15 -04:00 Compare
alexion merged commit 97cca46f4e into main 2026-08-31 17:50:32 -04:00
alexion deleted branch build/bazel-rust-workflow 2026-08-31 17:50:32 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alexion/dev#2