Redmage/flake.nix

27 lines
563 B
Nix
Raw Normal View History

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
goose
2024-04-07 23:41:00 +07:00
air
2024-04-06 01:22:00 +07:00
];
};
};
}