3
0
Fork 0
forked from mirrors/nixpkgs

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";