Skip to content

Commit ba7e1d7

Browse files
committed
pagefind: add versionCheckHook
1 parent ca906d7 commit ba7e1d7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/applications/misc/pagefind/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
npmHooks,
1313
python3,
1414
rustc,
15+
versionCheckHook,
1516
wasm-bindgen-cli_0_2_92,
1617
wasm-pack,
1718
}:
@@ -168,6 +169,12 @@ rustPlatform.buildRustPackage rec {
168169

169170
buildFeatures = [ "extended" ];
170171

172+
doInstallCheck = true;
173+
174+
nativeInstallCheckInputs = [
175+
versionCheckHook
176+
];
177+
171178
meta = {
172179
description = "Generate low-bandwidth search index for your static website";
173180
homepage = "https://pagefind.app/";

0 commit comments

Comments
 (0)