github-mcp-server: add passthru.updateScript

This commit is contained in:
DontEatOreo
2025-08-23 20:04:45 +05:30
committed by Masum Reza
parent e6ae63f438
commit 158f21513f
@@ -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";