delphi.market/shell.nix

19 lines
425 B
Nix

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
postgresql
];
shellHook = ''
# install templ if not already installed
command -v templ > /dev/null || go install github.com/a-h/templ/cmd/templ@latest
'';
}