From 4690bfc66d627961652615bf94beaa0d9a459532 Mon Sep 17 00:00:00 2001 From: DJ O'Leary Date: Mon, 3 Mar 2025 02:08:53 +0100 Subject: feat: Setup nix shells --- 2023/Go/shell.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 2023/Go/shell.nix (limited to '2023/Go/shell.nix') 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 { }, +}: + +pkgs.mkShell { + # build tools + nativeBuildInputs = with pkgs; [ + go + ]; + # dependencies + buildInputs = with pkgs; [ + delve + gopls + gotools + golangci-lint + ]; +} -- cgit v1.2.3