diff --git a/pkgs/by-name/ty/typos/package.nix b/pkgs/by-name/ty/typos/package.nix index 69daacd13866..03c593cdbe44 100644 --- a/pkgs/by-name/ty/typos/package.nix +++ b/pkgs/by-name/ty/typos/package.nix @@ -2,6 +2,8 @@ lib, rustPlatform, fetchFromGitHub, + testers, + typos, }: rustPlatform.buildRustPackage rec { @@ -17,6 +19,10 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-WuYAE2msctMf+7C1h5pNGyjrEInnT6PxfZ94bZhzB5w="; + passthru = { + tests.version = testers.testVersion { package = typos; }; + }; + meta = with lib; { description = "Source code spell checker"; mainProgram = "typos";