Commit d85d17a68548

Vincent Demeester <vincent@sbr.pm>
2026-05-05 13:41:36
fix(go): resolve gotools/gopls modernize conflict
Lowered gotools priority to avoid binary collision with gopls's modernize command introduced in gotools v0.44.0.
1 parent e6cb29b
Changed files (1)
home
common
home/common/dev/go.nix
@@ -1,4 +1,9 @@
-{ config, pkgs, ... }:
+{
+  config,
+  pkgs,
+  lib,
+  ...
+}:
 {
   home.sessionVariables = {
     # GOPATH = "${config.home.homeDirectory}";
@@ -15,7 +20,7 @@
     go-outline
     go-symbols
     delve
-    gotools
+    (lib.setPrio 10 gotools)
     gotestsum
     gofumpt
     govulncheck