From 67fed3d76deae9eb62f0313812c56e93e595cb3a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 29 Oct 2023 13:24:10 +0300 Subject: chore(tools/depotfmt): use Go version from buildGo This is required because Go 1.18 is actually being deleted. I've applied the formatting breakage that it introduces (such as breaking comment formatting), because I can't be bothered to try and work around broken Go stuff. Change-Id: Ica7cee0d01228845d6a766079fef36df99a3da96 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9832 Autosubmit: tazjin Reviewed-by: flokli Tested-by: BuildkiteCI --- nix/buildGo/default.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nix/buildGo/default.nix') diff --git a/nix/buildGo/default.nix b/nix/buildGo/default.nix index a7b1f6771e..83b9064bab 100644 --- a/nix/buildGo/default.nix +++ b/nix/buildGo/default.nix @@ -118,4 +118,7 @@ in program = makeOverridable program; package = makeOverridable package; external = makeOverridable external; + + # re-expose the Go version used + inherit go; } -- cgit 1.4.1