snphost: add versionCheckHook
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user