diff --git a/Dockerfile.integration b/Dockerfile.integration index 7e55643e2..7aedcd4d4 100644 --- a/Dockerfile.integration +++ b/Dockerfile.integration @@ -2,7 +2,7 @@ # and are in no way endorsed by Headscale's maintainers as an # official nor supported release or distribution. -FROM docker.io/golang:1.26.5-trixie AS builder +FROM docker.io/golang:1.26.9-trixie AS builder ARG VERSION=dev ENV GOPATH /go WORKDIR /go/src/headscale diff --git a/Dockerfile.wasmclient b/Dockerfile.wasmclient index ba8714fa5..85fd25353 100644 --- a/Dockerfile.wasmclient +++ b/Dockerfile.wasmclient @@ -7,7 +7,7 @@ # to drive a real browser-style WebSocket GET against headscale's /ts2021, # guarding the regression in issue #3357. -FROM golang:1.26.5-alpine AS build +FROM golang:1.26.9-alpine AS build WORKDIR /src diff --git a/cmd/hi/README.md b/cmd/hi/README.md index 97d758edb..e471771b3 100644 --- a/cmd/hi/README.md +++ b/cmd/hi/README.md @@ -55,7 +55,7 @@ changing. | `--timeout` | `120m` | Total test timeout. Use the built-in flag — never wrap with bash `timeout`. | | `--postgres` | `false` | Use PostgreSQL instead of SQLite | | `--failfast` | `true` | Stop on first test failure | -| `--go-version` | auto | Detected from `go.mod` (currently 1.26.5) | +| `--go-version` | auto | Detected from `go.mod` (currently 1.26.8) | | `--test-binary` | unset | Execute a precompiled integration test binary instead of running `go test` | | `--clean-before` | `true` | Clean stale (stopped/exited) containers before starting | | `--clean-after` | `true` | Clean this run's containers after completion | diff --git a/flake.lock b/flake.lock index d59534828..605587df3 100644 --- a/flake.lock +++ b/flake.lock @@ -1,27 +1,5 @@ { "nodes": { - "flake-checks": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": [ - "nixpkgs" - ], - "treefmt-nix": "treefmt-nix" - }, - "locked": { - "lastModified": 1783015821, - "narHash": "sha256-vmzYTZxIAy3OYXwkRL5GQYk8fNnh8TLWcxQRIO3ywOU=", - "owner": "kradalby", - "repo": "flake-checks", - "rev": "3c821706eb0bd07f515f9a7726b650ccae927433", - "type": "github" - }, - "original": { - "owner": "kradalby", - "repo": "flake-checks", - "type": "github" - } - }, "flake-utils": { "inputs": { "systems": "systems" @@ -42,16 +20,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1784421286, - "narHash": "sha256-YKn3t7FvaargtyNHbrOw+qzDM+93q5kSCREUPNxeZQs=", + "lastModified": 1791765022, + "narHash": "sha256-ZGq3ptZzA+oO0N/Wi/F+GbuTijLkYExD01LvpNFAvr0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "62eaae30cd05c04718500ddb44e7ef85cd45ddd5", + "rev": "7993f34ee47e28a3d607a525aadc6c94b73be728", "type": "github" }, "original": { "owner": "NixOS", - "ref": "staging-next-26.05", + "ref": "nixos-26.05", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index af1cac12d..0a0b3fdaa 100644 --- a/flake.nix +++ b/flake.nix @@ -2,13 +2,8 @@ description = "headscale - Open Source Tailscale Control server"; inputs = { - # Pinned to staging-next-26.05 for Go 1.26.5: the Tailscale HEAD build - # (Dockerfile.tailscale-HEAD) requires go >= 1.26.5, and nixpkgs-unstable - # still ships 1.26.4 — the bump is merged to nixpkgs staging but the - # large-rebuild staging->unstable pipeline lags. The 26.05 line is otherwise - # current (dev tools match unstable). Switch back to nixpkgs-unstable once it - # ships go_1_26 >= 1.26.5. - nixpkgs.url = "github:NixOS/nixpkgs/staging-next-26.05"; + # Stable 26.05 tracks Go 1.26 patch releases; unstable lags them. + nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; flake-utils.url = "github:numtide/flake-utils"; }; @@ -32,7 +27,7 @@ overlays.default = _: prev: let pkgs = nixpkgs.legacyPackages.${prev.stdenv.hostPlatform.system}; - # Go 1.26 builder; resolves to Go 1.26.5 from the pinned nixpkgs. + # Go 1.26 builder. buildGo = pkgs.buildGo126Module; vendorHash = (builtins.fromJSON (builtins.readFile ./flakehashes.json)).vendor.sri; in diff --git a/flakehashes.json b/flakehashes.json index 8f7ddd613..8bf2d628b 100644 --- a/flakehashes.json +++ b/flakehashes.json @@ -1,6 +1,6 @@ { "vendor": { - "goModSum": "sha256-GFiMC2ktrQnpSVzJHabVP1TYwJvn5+a/BDLhvmGTUWc=", + "goModSum": "sha256-2ktV+uxOhWgXtX4fmtFYpOdyD1Z9X7Uu6S6oEJ/v6yM=", "sri": "sha256-fzKyXNMw/2yAEhaTZu0n1NXatPO2IP0HFA2ey1vZIYM=" } } diff --git a/go.mod b/go.mod index 8d580d7bf..f2c1003cd 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/juanfont/headscale -go 1.26.5 +go 1.26.8 require ( github.com/arl/statsviz v0.8.0