From e03f70bc2e7d54ff98b6cbd355248d7568e2e6b6 Mon Sep 17 00:00:00 2001 From: Brandon Duffany Date: Fri, 21 Apr 2023 22:27:39 -0400 Subject: [PATCH] Fix building externally --- rules.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.bzl b/rules.bzl index 07e98ed..d858241 100644 --- a/rules.bzl +++ b/rules.bzl @@ -31,7 +31,7 @@ def _protoc_gen_protobufjs_impl(ctx): "--plugin", ctx.executable._protoc_gen_protobufjs.path, "--protobufjs_out", - ctx.bin_dir.path, + ctx.bin_dir.path + "/" + ctx.label.workspace_root, ] inputs = ctx.attr.proto[ProtoInfo].transitive_sources.to_list()