delphi.market/shell.nix

19 lines
425 B
Nix
Raw Normal View History

2024-07-22 01:39:22 +00:00
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
2024-08-08 08:08:18 +00:00
postgresql
2024-07-22 01:39:22 +00:00
];
shellHook = ''
# install templ if not already installed
command -v templ > /dev/null || go install github.com/a-h/templ/cmd/templ@latest
'';
}