findup: fix tests eval

Without the change `tests` eval fails as:

    $ nix build --no-link -f. findup.tests
    error:
       error: attribute 'findup' missing
This commit is contained in:
Sergei Trofimovich 2023-12-29 19:32:23 +00:00
parent 01962add7e
commit d3fdf4df0a

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ zig_0_10.hook ];
passthru.tests.version = testers.testVersion { package = finalAttrs.findup; };
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
meta = {
homepage = "https://github.com/booniepepper/findup";