Commit 66231cfa authored by Michal Trybus's avatar Michal Trybus
Browse files

marksman: switch to versionCheckHook

parent 3feab216
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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 = ''