flake.nix: update Nix to use tailscale/go 1.25.2 (#17500)
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>
This commit is contained in:
@@ -46,9 +46,9 @@
|
||||
systems,
|
||||
flake-compat,
|
||||
}: let
|
||||
goVersion = "1.25.1";
|
||||
goVersion = nixpkgs.lib.fileContents ./go.toolchain.version;
|
||||
toolChainRev = nixpkgs.lib.fileContents ./go.toolchain.rev;
|
||||
gitHash = "sha256-1OCmJ7sZL6G/6wO2+lnW4uYPCIdbXhscD5qSTIPoxDk=";
|
||||
gitHash = nixpkgs.lib.fileContents ./go.toolchain.rev.sri;
|
||||
eachSystem = f:
|
||||
nixpkgs.lib.genAttrs (import systems) (system:
|
||||
f (import nixpkgs {
|
||||
@@ -61,7 +61,7 @@
|
||||
owner = "tailscale";
|
||||
repo = "go";
|
||||
rev = toolChainRev;
|
||||
hash = gitHash;
|
||||
sha256 = gitHash;
|
||||
};
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user