diff --git a/pkgs/tools/system/zx/default.nix b/pkgs/tools/system/zx/default.nix index 37021481d105..bfe2f2d68675 100644 --- a/pkgs/tools/system/zx/default.nix +++ b/pkgs/tools/system/zx/default.nix @@ -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 = {