You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
MacOS Monterry (12.4) Arm64
Any other potentially useful information about your toolchain?
What did you do?
I wanted to use env_inherit in go_test to pass through an environment variable
What did you expect to see?
The environment variable pass through successfully
What did you see instead?
env_inherit is not supported.
go_test currently allows defining fixed environment variables through env, but not passing through inherited environment variables. This was added to starlark support in Bazel 5.2 (https://blog.bazel.build/2022/06/08/bazel-5.2.html#starlark)
What version of rules_go are you using?
v0.33.0
What version of gazelle are you using?
v0.26.0
What version of Bazel are you using?
5.2.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
MacOS Monterry (12.4) Arm64
Any other potentially useful information about your toolchain?
What did you do?
I wanted to use
env_inherit
in go_test to pass through an environment variableWhat did you expect to see?
The environment variable pass through successfully
What did you see instead?
env_inherit is not supported.
go_test currently allows defining fixed environment variables through
env
, but not passing through inherited environment variables. This was added to starlark support in Bazel 5.2 (https://blog.bazel.build/2022/06/08/bazel-5.2.html#starlark)Example in rules_scala: bazelbuild/rules_scala#1401
The text was updated successfully, but these errors were encountered: