taplo: add versionCheckHook

This commit is contained in:
Defelo
2025-11-04 15:03:05 +01:00
parent 92671b275b
commit 9437f10f61
+5
View File
@@ -7,6 +7,7 @@
openssl,
withLsp ? true,
installShellFiles,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -45,6 +46,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
--zsh <($out/bin/taplo completions zsh)
'';
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;
meta = {
description = "TOML toolkit written in Rust";
homepage = "https://taplo.tamasfe.dev";