From c224cf149481a4b21f06cae795420c5640a2d657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Purkh=C3=BAs?= Date: Fri, 27 Oct 2023 11:42:05 +0000 Subject: [PATCH] Determinism fixes (#395) --- dotnet/private/rules/nuget/nuget_archive.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/private/rules/nuget/nuget_archive.bzl b/dotnet/private/rules/nuget/nuget_archive.bzl index 16370dc5..ef6868e3 100644 --- a/dotnet/private/rules/nuget/nuget_archive.bzl +++ b/dotnet/private/rules/nuget/nuget_archive.bzl @@ -323,7 +323,7 @@ def _nuget_archive_impl(ctx): auth = _get_auth_dict(ctx, ctx.attr.netrc, urls) ctx.download_and_extract(urls, type = "zip", integrity = ctx.attr.sha512, auth = auth) - files = _read_dir(ctx, ".").replace(str(ctx.path(".")) + "/", "").splitlines() + files = sorted(_read_dir(ctx, ".").replace(str(ctx.path(".")) + "/", "").splitlines()) # The NuGet package format groups = {