From 5c80706f70186507a262ef756fff80b2fde743e9 Mon Sep 17 00:00:00 2001 From: Laurent Le Brun Date: Tue, 28 May 2019 10:03:39 +0200 Subject: [PATCH] Fix for --incompatible_no_support_tools_in_action_inputs on Windows (#157) Error identified with Bazel CI: https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/120#4bcecf1f-c7d3-4de2-ba63-1ea125faa54e --- rules/private/copy_file_private.bzl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rules/private/copy_file_private.bzl b/rules/private/copy_file_private.bzl index b531815..7549585 100644 --- a/rules/private/copy_file_private.bzl +++ b/rules/private/copy_file_private.bzl @@ -37,7 +37,8 @@ def copy_cmd(ctx, src, dst): is_executable = True, ) ctx.actions.run( - inputs = [src, bat], + inputs = [src], + tools = [bat], outputs = [dst], executable = "cmd.exe", arguments = ["/C", bat.path.replace("/", "\\")],