_7zz: fix passing package to tests

This commit is contained in:
éclairevoyant 2024-05-17 09:54:57 -04:00
parent 176c7baa9f
commit 169a7d53e4
No known key found for this signature in database
GPG Key ID: E3813AEAA02DB54B

View File

@ -11,7 +11,6 @@
, enableUnfree ? false
# For tests
, _7zz
, testers
}:
@ -115,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
updateScript = ./update.sh;
tests.version = testers.testVersion {
package = _7zz;
package = finalAttrs.finalPackage;
command = "7zz --help";
};
};