Skip to content

Commit b5048aa

Browse files
committed
bazel: prepare for 8+ compatibility
If https://registry.build/flag/[email protected]?filter=incompatible_auto_exec_groups is enabled then bazel expects that the toolchain flag is passed to all run and run_shell
1 parent 94a7915 commit b5048aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/rpmtree.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def _rpm2tar_impl(ctx):
7878
mnemonic = "Rpm2Tar",
7979
progress_message = "Converting %s to tar" % ctx.label.name,
8080
executable = ctx.toolchains[BAZELDNF_TOOLCHAIN]._tool,
81+
toolchain = BAZELDNF_TOOLCHAIN,
8182
)
8283

8384
return [DefaultInfo(files = depset([ctx.outputs.out]))]
@@ -113,6 +114,7 @@ def _tar2files_impl(ctx):
113114
mnemonic = "Tar2Files",
114115
progress_message = "Extracting files",
115116
executable = ctx.toolchains[BAZELDNF_TOOLCHAIN]._tool,
117+
toolchain = BAZELDNF_TOOLCHAIN,
116118
)
117119

118120
return [DefaultInfo(files = depset(ctx.outputs.out))]

0 commit comments

Comments
 (0)