go.toolchain.branch: bump to go1.25 (#16954)

go.toolchain.rev: bump go1.25 version
flake.nix: bump Go to 1.25

Updates #16330

Signed-off-by: Patrick O'Doherty <patrick@tailscale.com>
This commit is contained in:
Patrick O'Doherty
2025-08-26 07:44:26 -07:00
committed by GitHub
parent b411ffb52f
commit c5429cd49c
13 changed files with 107 additions and 31 deletions
+7 -7
View File
@@ -46,18 +46,18 @@
systems,
flake-compat,
}: let
go124Version = "1.24.6";
goHash = "sha256-4ctVgqq1iGaLwEwH3hhogHD2uMmyqvNh+CHhm9R8/b0=";
go125Version = "1.25.0";
goHash = "sha256-S9AekSlyB7+kUOpA1NWpOxtTGl5DhHOyoG4Y4HciciU=";
eachSystem = f:
nixpkgs.lib.genAttrs (import systems) (system:
f (import nixpkgs {
system = system;
overlays = [
(final: prev: {
go_1_24 = prev.go_1_24.overrideAttrs {
version = go124Version;
go_1_25 = prev.go_1_25.overrideAttrs {
version = go125Version;
src = prev.fetchurl {
url = "https://go.dev/dl/go${go124Version}.src.tar.gz";
url = "https://go.dev/dl/go${go125Version}.src.tar.gz";
hash = goHash;
};
};
@@ -84,7 +84,7 @@
# you're an end user you should be prepared for this flake to not
# build periodically.
packages = eachSystem (pkgs: rec {
default = pkgs.buildGo124Module {
default = pkgs.buildGo125Module {
name = "tailscale";
pname = "tailscale";
src = ./.;
@@ -137,7 +137,7 @@
gotools
graphviz
perl
go_1_24
go_1_25
yarn
# qemu and e2fsprogs are needed for natlab