From ddadac45203f8aa48b05e9944cc5dcddb8829f62 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 30 Jun 2024 11:36:16 +0200 Subject: initial commit --- shell.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..8f89178 --- /dev/null +++ b/shell.nix @@ -0,0 +1,22 @@ +{ pkgs ? ( + let + sources = import ./npins; + in + import sources.nixpkgs { } + ) +}: +let + inherit (import ./.) pre-commit-check; +in +pkgs.mkShell { + inherit (pre-commit-check) shellHook; + packages = with pkgs; [ + go + npins + gopls + go-licenses + gotools + templ + just + ]; +} -- cgit 1.4.1