add boilerplate generation CLI

This commit is contained in:
jackjohn7 2026-04-09 02:57:23 -05:00
parent 29288276ea
commit 789083d32f
5 changed files with 293 additions and 0 deletions

25
modules/shell.nix Normal file
View file

@ -0,0 +1,25 @@
{ ... }:
{
perSystem =
{ pkgs, self', ... }:
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
bacon
cargo
rust-analyzer
rustc
rustfmt
clippy
glibc
sea-orm-cli
nixfmt
nil
alejandra
self'.packages.boilerplate
];
nativeBuildInputs = [ pkgs.pkg-config ];
env.RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
};
}