diff --git a/dotnet/nuget.bzl b/dotnet/nuget.bzl index 70191adc8de06..54a9ce99194a1 100644 --- a/dotnet/nuget.bzl +++ b/dotnet/nuget.bzl @@ -1,4 +1,7 @@ -load("@io_bazel_rules_dotnet//dotnet/private:context.bzl", "dotnet_context") +load( + "@io_bazel_rules_dotnet//dotnet/private:context.bzl", + "dotnet_context" +) def _nuget_package_impl(ctx): args = [ @@ -32,7 +35,7 @@ def _nuget_package_impl(ctx): ctx.actions.run( executable = ctx.executable.nuget_exe, arguments = args, - inputs = ctx.attr.src.files + ctx.files.deps, + inputs = ctx.attr.src.files.to_list() + ctx.files.deps, outputs = [ package_file, ]