marksman: switch to versionCheckHook

This commit is contained in:
Michal Trybus
2025-12-03 20:46:48 +01:00
parent 3feab21656
commit 66231cfa7d
+4 -6
View File
@@ -3,8 +3,7 @@
fetchFromGitHub,
buildDotnetModule,
dotnetCorePackages,
marksman,
testers,
versionCheckHook,
}:
let
@@ -40,12 +39,11 @@ buildDotnetModule (finalAttrs: {
passthru = {
updateScript = ./update.sh;
tests.version = testers.testVersion {
package = marksman;
command = "marksman --version";
};
};
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = with lib; {
description = "Language Server for Markdown";
longDescription = ''