From 2fc91c1b478744d1080e5830cee01212ec27e650 Mon Sep 17 00:00:00 2001 From: Sam Gammon Date: Thu, 4 Jan 2024 20:57:31 -0800 Subject: [PATCH] fix: include `data` attribute in direct inputs Signed-off-by: Sam Gammon --- internal/native_image/rules.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/native_image/rules.bzl b/internal/native_image/rules.bzl index 9359abac..1b18f62e 100644 --- a/internal/native_image/rules.bzl +++ b/internal/native_image/rules.bzl @@ -75,6 +75,8 @@ def _graal_binary_implementation(ctx): # add toolchain files to transitive inputs transitive_inputs.append(gvm_toolchain.gvm_files[DefaultInfo].files) transitive_inputs.append(gvm_toolchain.includes[DefaultInfo].files) + direct_inputs.extend(ctx.files.data) + graalvm_home = paths.dirname(graal.dirname) # if we're using an explicit tool, add it to the direct inputs