rune: add versionCheckHook

This commit is contained in:
Petr Portnov
2026-04-24 21:54:34 +03:00
parent f5c91dbe82
commit aa8de1459b
+4
View File
@@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchCrate,
versionCheckHook,
nix-update-script,
}:
@@ -21,6 +22,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
RUNE_VERSION = finalAttrs.version;
};
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {