diff --git a/pkgs/by-name/sn/snphost/package.nix b/pkgs/by-name/sn/snphost/package.nix index 092ca8b83c16..2163c17feec9 100644 --- a/pkgs/by-name/sn/snphost/package.nix +++ b/pkgs/by-name/sn/snphost/package.nix @@ -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 = {