diff options
author | Franck Cuny <franck@fcuny.net> | 2024-01-14 07:22:12 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-01-21 13:12:44 -0800 |
commit | e6399e1d52034518e35aa82b90c1cbd3471f34b2 (patch) | |
tree | 65195ad65bd5094d5b8f941685175448375932bd | |
parent | install netnewswire (diff) | |
download | world-e6399e1d52034518e35aa82b90c1cbd3471f34b2.tar.gz |
install some go related programs
-rw-r--r-- | flake/devshell.nix | 11 |
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; }; }; |