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
This commit is contained in:
Hythera
2026-04-10 19:14:41 +02:00
parent b28a8f0bc6
commit 7615d9d35b
+8 -2
View File
@@ -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";