marksman: switch to versionCheckHook
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user