Redmage/flake.nix

28 lines
571 B
Nix
Raw Normal View History

2024-04-06 01:22:00 +07:00
{
inputs = {
templ.url = "github:a-h/templ/v0.2.542"; # 0.2.542
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
nodejs_21
goose
sqlc
2024-04-07 23:41:00 +07:00
air
2024-04-06 01:22:00 +07:00
];
};
};
}