Skip to content

Commit 059e652

Browse files
committed
Correcting .NET NuGet package build rule definition
1 parent 33ab01c commit 059e652

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

dotnet/nuget.bzl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
load("@io_bazel_rules_dotnet//dotnet/private:context.bzl", "dotnet_context")
1+
load(
2+
"@io_bazel_rules_dotnet//dotnet/private:context.bzl",
3+
"dotnet_context"
4+
)
25

36
def _nuget_package_impl(ctx):
47
args = [
@@ -32,7 +35,7 @@ def _nuget_package_impl(ctx):
3235
ctx.actions.run(
3336
executable = ctx.executable.nuget_exe,
3437
arguments = args,
35-
inputs = ctx.attr.src.files + ctx.files.deps,
38+
inputs = ctx.attr.src.files.to_list() + ctx.files.deps,
3639
outputs = [
3740
package_file,
3841
]

0 commit comments

Comments
 (0)