diff options
| author | DJ O'Leary <dijitol@proton.me> | 2025-03-03 02:08:53 +0100 |
|---|---|---|
| committer | DJ O'Leary <dijitol@proton.me> | 2025-03-03 02:08:53 +0100 |
| commit | 4690bfc66d627961652615bf94beaa0d9a459532 (patch) | |
| tree | 1775fbb7b4c6b336d222461b832d6aa6336a8d92 /2023/Go/shell.nix | |
| parent | 4e81b19c2e6f081e45917dc2aac4381d863def83 (diff) | |
feat: Setup nix shells
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 + ]; +} |
