Skip to content

Commit d169b41

Browse files
pay-respects: add versionCheckHook for greater coverage
More tests are always a good thing. Signed-off-by: Ethan Carter Edwards <[email protected]>
1 parent eb1a756 commit d169b41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkgs/by-name/pa/pay-respects/package.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
lib,
33
fetchFromGitea,
44
rustPlatform,
5+
versionCheckHook,
56
}:
67
rustPlatform.buildRustPackage (finalAttrs: {
78
pname = "pay-respects";
@@ -18,6 +19,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
1819
useFetchCargoVendor = true;
1920
cargoHash = "sha256-TJP+GPkXwPvnBwiF0SCkn8NGz/xyrYjbUZKCbUUSqHQ=";
2021

22+
nativeInstallCheckInputs = [ versionCheckHook ];
23+
doInstallCheck = true;
24+
2125
meta = {
2226
description = "Terminal command correction, alternative to `thefuck`, written in Rust";
2327
homepage = "https://codeberg.org/iff/pay-respects";

0 commit comments

Comments
 (0)