Commit fd06da68 authored by Paul Meyer's avatar Paul Meyer
Browse files

snphost: add versionCheckHook

parent eba6abdc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 = {