]> git.giacomolli.uk - onechat/blob - nix/devshell.nix
9ec0209bd9b453d53019ac1c43232cdf9dbaad86
[onechat] / nix / devshell.nix
1 { pkgs }:
2 pkgs.mkShell {
3 packages = with pkgs; [
4 git
5 go
6 gofumpt
7 golangci-lint
8 gopls
9 nixfmt
10 (python3.withPackages (p: [
11 p.mdformat
12 p.mdformat-gfm
13 p.mdformat-frontmatter
14 ]))
15 rstfmt
16 shellcheck
17 vim
18 ];
19
20 GOTOOLCHAIN = "local";
21
22 shellHook = ''
23 git config core.hooksPath .githooks 2>/dev/null || true
24 '';
25 }