headscale: 0.27.0 -> 0.27.1

This commit is contained in:
R. Ryantm
2025-11-11 19:59:25 +00:00
committed by Sandro Jäckel
parent ff7090395a
commit 4218d72c84

View File

@@ -11,25 +11,25 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "headscale"; pname = "headscale";
version = "0.27.0"; version = "0.27.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "juanfont"; owner = "juanfont";
repo = "headscale"; repo = "headscale";
tag = "v${version}"; tag = "v${version}";
hash = "sha256-bWY12OW2gc5m6xdEJYh6xBixUMKYRuSBH4lCkcToL04="; hash = "sha256-eMqGJL+dxBThtW+0uMvnP5n2gk2kwOao6SukA38OMOE=";
}; };
vendorHash = "sha256-GUIzlPRsyEq1uSTzRNds9p1uVu4pTeH5PAxrJ5Njhis="; postPatch = ''
substituteInPlace hscontrol/types/version.go \
--replace-fail 'Version: "dev"' 'Version: "${version}"' \
--replace-fail 'Commit: "unknown"' 'Commit: "${src.tag}"'
'';
vendorHash = "sha256-VOi4PGZ8I+2MiwtzxpKc/4smsL5KcH/pHVkjJfAFPJ0=";
subPackages = [ "cmd/headscale" ]; subPackages = [ "cmd/headscale" ];
ldflags = [
"-s"
"-w"
"-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}"
];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
nativeCheckInputs = [ nativeCheckInputs = [