snphost: add versionCheckHook

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
Paul Meyer
2025-07-22 13:24:45 +02:00
parent eba6abdc94
commit fd06da6803
+4
View File
@@ -10,6 +10,7 @@
nix-update-script,
findutils,
installShellFiles,
versionCheckHook,
}:
rustPlatform.buildRustPackage rec {
@@ -47,6 +48,9 @@ rustPlatform.buildRustPackage rec {
installManPage $(find target/x86_64-unknown-linux-gnu/release/build -name "snphost.1")
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {