about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/depotfmt.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/depotfmt.nix b/tools/depotfmt.nix
index e40001018c37..04dd6ffc7555 100644
--- a/tools/depotfmt.nix
+++ b/tools/depotfmt.nix
@@ -1,6 +1,6 @@
 # Builds treefmt for depot, with a hardcoded configuration that
 # includes the right paths to formatters.
-{ depot, pkgs, ... }:
+{ pkgs, ... }:
 
 let
   # terraform fmt can't handle multiple paths at once, but treefmt
@@ -11,7 +11,7 @@ let
 
   config = pkgs.writeText "depot-treefmt-config" ''
     [formatter.go]
-    command = "${depot.nix.buildGo.go}/bin/gofmt"
+    command = "${pkgs.go}/bin/gofmt"
     options = [ "-w" ]
     includes = ["*.go"]