nixconf/modules/shell.nix
2026-04-09 02:57:23 -05:00

25 lines
528 B
Nix

{ ... }:
{
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}";
};
};
}