harbor-cli: use finalAttrs.finalPackage in testers.testVersion

This commit is contained in:
Aaron Jheng
2025-08-05 15:21:44 +08:00
parent d5319099ea
commit e18784610d
+1 -2
View File
@@ -4,7 +4,6 @@
buildGoModule,
fetchFromGitHub,
testers,
harbor-cli,
installShellFiles,
}:
@@ -46,7 +45,7 @@ buildGoModule (finalAttrs: {
'';
passthru.tests.version = testers.testVersion {
package = harbor-cli;
package = finalAttrs.finalPackage;
command = "HOME=\"$(mktemp -d)\" harbor version";
};