zx: add versionCheckHook

This commit is contained in:
José Ribeiro
2024-09-11 15:31:05 +01:00
parent b22142c867
commit 562e8d5975
+4
View File
@@ -3,6 +3,7 @@
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
versionCheckHook,
}:
buildNpmPackage rec {
@@ -18,6 +19,9 @@ buildNpmPackage rec {
npmDepsHash = "sha256-yhy2bTXeBYxGaLYb2by+7Y5DfKJ04hroYiOIvwcBojY=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {