summary refs log tree commit diff stats
path: root/user/settings/development/golang.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-08-22 16:58:30 +0200
committerAlan Pearce2024-08-22 16:58:30 +0200
commitb0223c0e9f8b8bcc1f075ffbc3073ea3a9c043cb (patch)
tree15f6f2ec12cb54fe7a25da07b91858cb48eae7e4 /user/settings/development/golang.nix
parent6901add3409247fa1552915037780f7f47689ed1 (diff)
downloadnixfiles-b0223c0e9f8b8bcc1f075ffbc3073ea3a9c043cb.tar.lz
nixfiles-b0223c0e9f8b8bcc1f075ffbc3073ea3a9c043cb.tar.zst
nixfiles-b0223c0e9f8b8bcc1f075ffbc3073ea3a9c043cb.zip
golang: disable automatic toolchain updates
Diffstat (limited to 'user/settings/development/golang.nix')
-rw-r--r--user/settings/development/golang.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/settings/development/golang.nix b/user/settings/development/golang.nix
index 8798fbc6..7fe5ad1e 100644
--- a/user/settings/development/golang.nix
+++ b/user/settings/development/golang.nix
@@ -15,6 +15,7 @@
   home.sessionPath = [
     "$HOME/go/bin"
   ];
+  home.sessionVariables.GOTOOLCHAIN = "local"; # use installed go tools
   programs.emacs.extraPackages = epkgs: (with epkgs; [
     go-eldoc
     go-tag