about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/depotfmt.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/depotfmt.nix b/tools/depotfmt.nix
index 400f4ed5fd99..4530469d1cfe 100644
--- a/tools/depotfmt.nix
+++ b/tools/depotfmt.nix
@@ -9,9 +9,10 @@ let
     echo "$@" | xargs -n1 ${pkgs.terraform}/bin/terraform fmt
   '';
 
+  # TODO: Upgrade to Go 1.19 and reformat tree
   config = pkgs.writeText "depot-treefmt-config" ''
     [formatter.go]
-    command = "${pkgs.go}/bin/gofmt"
+    command = "${pkgs.go_1_18}/bin/gofmt"
     options = [ "-w" ]
     includes = ["*.go"]