Redmage/flake.nix
2024-04-09 21:49:23 +07:00

28 lines
578 B
Nix

{
inputs = {
templ.url = "github:a-h/templ/v0.2.648";
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
};
outputs = inputs@{ templ, nixpkgs, ... }:
let
system = "x86_64-linux";
templPkg = templ.packages.${system}.templ;
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
{
devShell.${system} = pkgs.mkShell {
name = "redmage-shell";
buildInputs = with pkgs; [
templPkg
go
modd
nodePackages_latest.nodejs
goose
sqlc
air
];
};
};
}