2024-04-06 01:22:00 +07:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-04-25 20:22:05 +07:00
|
|
|
templ.url = "github:a-h/templ/v0.2.663";
|
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
|
2024-04-07 23:41:00 +07:00
|
|
|
air
|
2024-06-11 13:10:42 +07:00
|
|
|
upx
|
2024-04-06 01:22:00 +07:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|