Skip to content

Commit

Permalink
apply patch from bazel-contrib#706
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie-idb committed Dec 18, 2024
1 parent 843eb01 commit 34e03e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oci/private/push.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,13 @@ def _transition_to_target_impl(settings, _attr):
# String conversion is needed to prevent a crash with Bazel 6.x.
"//command_line_option:extra_execution_platforms": [
str(platform)
for platform in settings["//command_line_option:platforms"]
for platform in settings["//command_line_option:extra_execution_platforms"] + settings["//command_line_option:platforms"]
],
}

_transition_to_target = transition(
implementation = _transition_to_target_impl,
inputs = ["//command_line_option:platforms"],
inputs = ["//command_line_option:platforms", "//command_line_option:extra_execution_platforms"],
outputs = ["//command_line_option:extra_execution_platforms"],
)

Expand Down

0 comments on commit 34e03e2

Please sign in to comment.