From e6399e1d52034518e35aa82b90c1cbd3471f34b2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 14 Jan 2024 07:22:12 -0800 Subject: install some go related programs --- flake/devshell.nix | 11 +++++++++-- 1 file 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; }; }; -- cgit 1.4.1