|
2 | 2 | description = "headscale - Open Source Tailscale Control server"; |
3 | 3 |
|
4 | 4 | inputs = { |
5 | | - # Pinned to staging-next-26.05 for Go 1.26.4 (security fix GO-2026-5037/5039): |
6 | | - # nixpkgs-unstable still ships 1.26.3 — the bump is merged to nixpkgs staging |
7 | | - # but the large-rebuild staging->unstable pipeline lags. The 26.05 line is |
8 | | - # otherwise current (dev tools match unstable). Switch back to nixpkgs-unstable |
9 | | - # once it ships go_1_26 >= 1.26.4. |
| 5 | + # Pinned to staging-next-26.05 for Go 1.26.5: the Tailscale HEAD build |
| 6 | + # (Dockerfile.tailscale-HEAD) requires go >= 1.26.5, and nixpkgs-unstable |
| 7 | + # still ships 1.26.4 — the bump is merged to nixpkgs staging but the |
| 8 | + # large-rebuild staging->unstable pipeline lags. The 26.05 line is otherwise |
| 9 | + # current (dev tools match unstable). Switch back to nixpkgs-unstable once it |
| 10 | + # ships go_1_26 >= 1.26.5. |
10 | 11 | nixpkgs.url = "github:NixOS/nixpkgs/staging-next-26.05"; |
11 | 12 | flake-utils.url = "github:numtide/flake-utils"; |
12 | 13 | # Reusable Go flake checks (build/test/lint/format); CI runs them via |
|
36 | 37 | overlays.default = _: prev: |
37 | 38 | let |
38 | 39 | pkgs = nixpkgs.legacyPackages.${prev.stdenv.hostPlatform.system}; |
39 | | - # Go 1.26 builder; resolves to Go 1.26.4 from the pinned nixpkgs. |
| 40 | + # Go 1.26 builder; resolves to Go 1.26.5 from the pinned nixpkgs. |
40 | 41 | buildGo = pkgs.buildGo126Module; |
41 | 42 | vendorHash = (builtins.fromJSON (builtins.readFile ./flakehashes.json)).vendor.sri; |
42 | 43 | in |
|
72 | 73 | }; |
73 | 74 |
|
74 | 75 | # Build golangci-lint with stock Go 1.26 (upstream uses hardcoded Go |
75 | | - # version); it does not build against the pinned 1.26.4. |
| 76 | + # version); it does not build against the pinned 1.26.5. |
76 | 77 | golangci-lint = buildGo rec { |
77 | 78 | pname = "golangci-lint"; |
78 | 79 | version = "2.12.2"; |
|
0 commit comments