treewide: use finalAttrs.finalPackage in testers.testVersion (#431103)

authored by Yohann Boniface and committed by GitHub 98e069c0 00b574b1

+4 -8
+1 -2
pkgs/by-name/ha/harbor-cli/package.nix
··· 4 4 buildGoModule, 5 5 fetchFromGitHub, 6 6 testers, 7 - harbor-cli, 8 7 installShellFiles, 9 8 }: 10 9 ··· 46 45 ''; 47 46 48 47 passthru.tests.version = testers.testVersion { 49 - package = harbor-cli; 48 + package = finalAttrs.finalPackage; 50 49 command = "HOME=\"$(mktemp -d)\" harbor version"; 51 50 }; 52 51
+1 -2
pkgs/by-name/ok/okteto/package.nix
··· 4 4 fetchFromGitHub, 5 5 installShellFiles, 6 6 testers, 7 - okteto, 8 7 }: 9 8 10 9 buildGoModule (finalAttrs: { ··· 74 73 ''; 75 74 76 75 passthru.tests.version = testers.testVersion { 77 - package = okteto; 76 + package = finalAttrs.finalPackage; 78 77 command = "HOME=\"$(mktemp -d)\" okteto version"; 79 78 }; 80 79
+1 -2
pkgs/by-name/vs/vsce/package.nix
··· 6 6 libsecret, 7 7 python3, 8 8 testers, 9 - vsce, 10 9 nix-update-script, 11 10 }: 12 11 ··· 39 38 40 39 passthru = { 41 40 tests.version = testers.testVersion { 42 - package = vsce; 41 + package = finalAttrs.finalPackage; 43 42 }; 44 43 updateScript = nix-update-script { 45 44 extraArgs = [
+1 -2
pkgs/by-name/we/weaver/package.nix
··· 3 3 rustPlatform, 4 4 fetchFromGitHub, 5 5 testers, 6 - weaver, 7 6 }: 8 7 9 8 rustPlatform.buildRustPackage (finalAttrs: { ··· 25 24 ]; 26 25 27 26 passthru.tests.version = testers.testVersion { 28 - package = weaver; 27 + package = finalAttrs.finalPackage; 29 28 }; 30 29 31 30 meta = {