From 18c591a885bc66f2c20bcd7dbfa00cb488b62d70 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Mon, 20 Dec 2021 03:00:57 -0800 Subject: [PATCH] Use default shell environment in proto_library. This fixes rules_go downstream: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2284#5be53928-59ad-43b3-a87f-b1a77dcd1117 Failed build: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/2283#71dfd766-cc54-46ee-b893-d25587277404 Closes #14443. PiperOrigin-RevId: 417367381 --- src/main/starlark/builtins_bzl/common/proto/proto_common.bzl | 1 + 1 file changed, 1 insertion(+) 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):