- Learn Nix if you haven't yet.
- Until I learn how to use Bazel modules defined within other modules, I need
a local copy of
rules_nixpkgs
. I use something likegit submodules add https://github.com/tweag/rules_nixpkgs
. - Run
nix develop
to launch a shell with Nix-provided Bazel. - Run the demo:
bazel run :main_cc
Hello, from Go!
Hello, from Rust!
Hello, from C++!
Copyright 2021 Google LLC
SPDX-License-Identifier: Apache-2.0