2024-04-06 01:22:00 +07:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-04-08 16:59:42 +07:00
|
|
|
templ.url = "github:a-h/templ/v0.2.648";
|
2024-04-06 01:22:00 +07:00
|
|
|
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
|
|
|
|
{
|
2024-04-07 23:41:00 +07:00
|
|
|
devShell.${system} = pkgs.mkShell {
|
2024-04-06 01:22:00 +07:00
|
|
|
name = "redmage-shell";
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
templPkg
|
|
|
|
go
|
|
|
|
modd
|
2024-04-09 21:49:23 +07:00
|
|
|
nodePackages_latest.nodejs
|
2024-04-07 00:28:29 +07:00
|
|
|
goose
|
|
|
|
sqlc
|
2024-04-07 23:41:00 +07:00
|
|
|
air
|
2024-04-06 01:22:00 +07:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|