about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-01-14 07:22:12 -0800
committerFranck Cuny <franck@fcuny.net>2024-01-21 13:12:44 -0800
commite6399e1d52034518e35aa82b90c1cbd3471f34b2 (patch)
tree65195ad65bd5094d5b8f941685175448375932bd
parentinstall netnewswire (diff)
downloadworld-e6399e1d52034518e35aa82b90c1cbd3471f34b2.tar.gz
install some go related programs
Diffstat (limited to '')
-rw-r--r--flake/devshell.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/flake/devshell.nix b/flake/devshell.nix
index 802e18f..13c0281 100644
--- a/flake/devshell.nix
+++ b/flake/devshell.nix
@@ -15,6 +15,11 @@
 
         packages = with pkgs; [
           (config.treefmt.build.wrapper)
+
+          go_1_21
+          gopls
+          golangci-lint
+          goreleaser
         ];
 
         devshell.startup = {
@@ -50,11 +55,13 @@
         # list of supported programs
         # https://github.com/numtide/treefmt-nix
         programs = {
+          gofmt.enable = true;
+          gofumpt.enable = true;
           nixpkgs-fmt.enable = true;
-          shfmt.enable = true;
           shellcheck.enable = true;
-          yamlfmt.enable = true;
+          shfmt.enable = true;
           taplo.enable = true;
+          yamlfmt.enable = true;
         };
       };