Add shell.nix
This commit is contained in:
parent
139bb2e5b1
commit
a2b717b336
|
@ -0,0 +1,18 @@
|
|||
let
|
||||
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11";
|
||||
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||
in
|
||||
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
go
|
||||
tailwindcss
|
||||
gnumake
|
||||
inotify-tools
|
||||
figlet
|
||||
];
|
||||
shellHook = ''
|
||||
# install templ if not already installed
|
||||
command -v templ > /dev/null || go install github.com/a-h/templ/cmd/templ@latest
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue