aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protobuf.bzl1
1 files changed, 1 insertions, 0 deletions
diff --git a/protobuf.bzl b/protobuf.bzl
index 73c396d5..9cb17f01 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -108,6 +108,7 @@ def _proto_gen_impl(ctx):
arguments=args + import_flags + [s.path for s in srcs],
executable=ctx.executable.protoc,
mnemonic="ProtoCompile",
+ use_default_shell_env=True,
)
return struct(