golink: 1.0.0 -> 1.0.0-unstable-2026-07-03

the v1.0.0 tag is stuck on tailscale v1.78 (main has v1.96), which current headscale rejects (minimum client version v1.80), so golink from nixpkgs silently fails to join headscale tailnets, while appearing healthy. upstream develops on main and has not tagged since 2025-01. added an update script so the package tracks main going forward.

Assisted-by: Claude Code (claude-fable-5)
This commit is contained in:
nara csutora
2026-07-16 20:36:21 +02:00
committed by GitHub
parent ab571fccdd
commit 87c6ada750
+8 -6
View File
@@ -1,22 +1,22 @@
{
git,
lib,
buildGoModule,
fetchFromGitHub,
unstableGitUpdater,
}:
buildGoModule rec {
buildGoModule {
pname = "golink";
version = "1.0.0";
version = "1.0.0-unstable-2026-07-03";
src = fetchFromGitHub {
owner = "tailscale";
repo = "golink";
tag = "v${version}";
hash = "sha256-cIml0ewF5j2cQySLHkMmV1rl7cVH8wuoPFeFDCARi1A=";
rev = "30223ca66c2dad29356b6266254e1bf4af921f28";
hash = "sha256-hp886p94NHA8u3021horHFf6tGa8x8gWdeNA1XnQZ6E=";
};
vendorHash = "sha256-QIAkmqXWH3X2dIoWyVcqFXVHBwzyv1dNPfdkzD5LuSE=";
vendorHash = "sha256-7Ykb2YPrHwwBrWuufFwGTT9mQFzIRkiBiNlLvqpr+wo=";
overrideModAttrs = old: {
# netdb.go allows /etc/protocols and /etc/services to not exist and happily proceeds, but it panic()s if they exist but return permission denied.
@@ -30,6 +30,8 @@ buildGoModule rec {
"-w"
];
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Private shortlink service for tailnets";
homepage = "https://github.com/tailscale/golink";