summaryrefslogtreecommitdiffhomepage
path: root/update-flake.sh
AgeCommit message (Collapse)AuthorFilesLines
2025-10-08flake.nix: update Nix to use tailscale/go 1.25.2 (#17500)Mike O'Driscoll1-0/+8
Update Nix flake to use go 1.25.2 Create the hash from the toolchain rev file automatically from update-flake.sh Updates tailscale/go#135 Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
2024-03-08Code Improvements (#11311)panchajanya1-6/+4
build_docker, update-flake: cleanup and apply shellcheck fixes Was editing this file to match my needs while shellcheck warnings bugged me out. REV isn't getting used anywhere. Better remove it. Updates #cleanup Signed-off-by: Panchajanya1999 <kernel@panchajanya.dev> Signed-off-by: James Tucker <james@tailscale.com>
2023-02-14.github/workflows: add workflow to update go.mod Nix SRI hashDavid Anderson1-2/+2
So that I just get a quick PR to approve and merge instead of periodically discovering that the SRI hash has bitrotted. Signed-off-by: David Anderson <danderson@tailscale.com>
2023-02-02go.toolchain.rev: use new statically built toolchainDavid Anderson1-7/+2
Also removes the toolchain builds from flake.nix. For now the flake build uses upstream Go 1.20, a followup change will switch it back to our custom toolchain. Updates tailscale/corp#9005 Signed-off-by: David Anderson <danderson@tailscale.com>
2022-12-24update-flake.sh: tooling to keep Nix SRI hashes in sync.David Anderson1-0/+25
Also fixes the Go toolchain SRI hash from a7f05c6bb0fed3f060435f0828625f705839d56d, it turns out I initialized the file with an SRI hash for an older toolchain version, and because of the unique way fixed-output derivations work in nix, nix didn't tell me about the mismatch because it just cache-hit on the older toolchain and moved on. Sigh. Updates #6845. Signed-off-by: David Anderson <danderson@tailscale.com>