From fd06da6803a3bacff1d0f8cae986b4d7b9596e4c Mon Sep 17 00:00:00 2001 From: Paul Meyer Date: Tue, 22 Jul 2025 13:22:08 +0200 Subject: [PATCH] snphost: add versionCheckHook Signed-off-by: Paul Meyer --- pkgs/by-name/sn/snphost/package.nix | 4 ++++ 1 file changed, 4 insertions(+) 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 = {