diff options
Diffstat (limited to '2023/Go/shell.nix')
| -rw-r--r-- | 2023/Go/shell.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2023/Go/shell.nix b/2023/Go/shell.nix new file mode 100644 index 0000000..9573d44 --- /dev/null +++ b/2023/Go/shell.nix @@ -0,0 +1,17 @@ +{ + pkgs ? import <nixpkgs> { }, +}: + +pkgs.mkShell { + # build tools + nativeBuildInputs = with pkgs; [ + go + ]; + # dependencies + buildInputs = with pkgs; [ + delve + gopls + gotools + golangci-lint + ]; +} |
