Commit 158f2151 authored by DontEatOreo's avatar DontEatOreo Committed by Masum Reza
Browse files

github-mcp-server: add `passthru.updateScript`

parent e6ae63f4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  buildGoModule,
  fetchFromGitHub,
  versionCheckHook,
  nix-update-script,
}:

buildGoModule (finalAttrs: {
@@ -32,6 +33,8 @@ buildGoModule (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  versionCheckProgramArg = "--version";

  passthru.updateScript = nix-update-script { };

  meta = {
    changelog = "https://github.com/github/github-mcp-server/releases/tag/v${finalAttrs.version}";
    description = "GitHub's official MCP Server";