From ba7e1d75dd3f6d049e3e4e12622d289d9c407edb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 22 May 2025 10:51:27 -0700 Subject: [PATCH] pagefind: add versionCheckHook --- pkgs/applications/misc/pagefind/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/misc/pagefind/default.nix b/pkgs/applications/misc/pagefind/default.nix index bbfc5b7e51ac..7d2864a4de2b 100644 --- a/pkgs/applications/misc/pagefind/default.nix +++ b/pkgs/applications/misc/pagefind/default.nix @@ -12,6 +12,7 @@ npmHooks, python3, rustc, + versionCheckHook, wasm-bindgen-cli_0_2_92, wasm-pack, }: @@ -168,6 +169,12 @@ rustPlatform.buildRustPackage rec { buildFeatures = [ "extended" ]; + doInstallCheck = true; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + meta = { description = "Generate low-bandwidth search index for your static website"; homepage = "https://pagefind.app/";