From ac66781de2092ac5f146e0db58705123d10d9944 Mon Sep 17 00:00:00 2001 From: Sacha Froment Date: Wed, 25 Sep 2024 10:46:42 +0200 Subject: [PATCH] Update bzlmod example to be able to use toolchain (#81) --- examples/bzlmod/MODULE.bazel | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/bzlmod/MODULE.bazel b/examples/bzlmod/MODULE.bazel index 960f30b..3c6fece 100644 --- a/examples/bzlmod/MODULE.bazel +++ b/examples/bzlmod/MODULE.bazel @@ -33,3 +33,5 @@ buf.dependency(module = "buf.build/acme/petapis:7abdb7802c8f4737a1a23a35ca8266ef # Allow references to labels under @buf_deps use_repo(buf, "buf_deps") +# Allow people to use `bazel run @rules_buf_toolchains//:buf -- --version` +use_repo(buf, "rules_buf_toolchains")