diff --git a/src/main/starlark/builtins_bzl/common/proto/proto_common.bzl b/src/main/starlark/builtins_bzl/common/proto/proto_common.bzl index f7e8e7804ea609..8f00aaf01ae818 100644 --- a/src/main/starlark/builtins_bzl/common/proto/proto_common.bzl +++ b/src/main/starlark/builtins_bzl/common/proto/proto_common.bzl @@ -101,6 +101,7 @@ def _create_proto_compile_action( inputs = depset(transitive = [proto_info.transitive_sources, additional_inputs]), outputs = outputs, tools = plugins, + use_default_shell_env = True, ) def _proto_path_flag(path):