From 7615d9d35bb03ca8c223ee69ffd2f54dc1b00663 Mon Sep 17 00:00:00 2001 From: Hythera <87016780+Hythera@users.noreply.github.com> Date: Fri, 10 Apr 2026 19:14:41 +0200 Subject: [PATCH] acr-cli: 0.18.1 -> 0.19, fix build changelog: https://github.com/Azure/acr-cli/releases/tag/v0.19 diff: https://github.com/Azure/acr-cli/compare/v0.18.1...v0.19 --- pkgs/by-name/ac/acr-cli/package.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ac/acr-cli/package.nix b/pkgs/by-name/ac/acr-cli/package.nix index 90e981bc2be7..0c18d019de71 100644 --- a/pkgs/by-name/ac/acr-cli/package.nix +++ b/pkgs/by-name/ac/acr-cli/package.nix @@ -8,13 +8,13 @@ }: buildGoModule (finalAttrs: { pname = "acr-cli"; - version = "0.18.1"; + version = "0.19"; src = fetchFromGitHub { owner = "Azure"; repo = "acr-cli"; tag = "v${finalAttrs.version}"; - hash = "sha256-VxY+Hq9aJjkr6TmyuFE9i9VliNowZataQimf8yWPXp8="; + hash = "sha256-Tb1OVVkEH6XmYjbe5ktgqRO/Ko1jhzpbhycZFalhgVg="; }; vendorHash = null; @@ -28,6 +28,12 @@ buildGoModule (finalAttrs: { executable = [ "acr" ]; + # Required for some tests on darwin. + __darwinAllowLocalNetworking = true; + + # Test checks for legacy error which has been changed in newer go versions. + checkFlags = [ "-skip=^TestParseDuration" ]; + passthru.tests.version = testers.testVersion { package = acr-cli; command = "acr version";