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

This commit is contained in:
Yohann Boniface
2025-08-09 05:57:23 +02:00
committed by GitHub
4 changed files with 4 additions and 8 deletions
+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";
};
+1 -2
View File
@@ -4,7 +4,6 @@
fetchFromGitHub,
installShellFiles,
testers,
okteto,
}:
buildGoModule (finalAttrs: {
@@ -74,7 +73,7 @@ buildGoModule (finalAttrs: {
'';
passthru.tests.version = testers.testVersion {
package = okteto;
package = finalAttrs.finalPackage;
command = "HOME=\"$(mktemp -d)\" okteto version";
};
+1 -2
View File
@@ -6,7 +6,6 @@
libsecret,
python3,
testers,
vsce,
nix-update-script,
}:
@@ -39,7 +38,7 @@ buildNpmPackage (finalAttrs: {
passthru = {
tests.version = testers.testVersion {
package = vsce;
package = finalAttrs.finalPackage;
};
updateScript = nix-update-script {
extraArgs = [
+1 -2
View File
@@ -3,7 +3,6 @@
rustPlatform,
fetchFromGitHub,
testers,
weaver,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -25,7 +24,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
passthru.tests.version = testers.testVersion {
package = weaver;
package = finalAttrs.finalPackage;
};
meta = {