konservejo/nix/shell.nix
NotAShelf e2fd0f89a0
nix: add cargo-nextest to default devshell
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ica8a3f57f6b005134be2ade63bdfe9746a6a6964
2026-03-19 17:01:00 +03:00

34 lines
444 B
Nix

{
mkShell,
rustc,
cargo,
rustfmt,
clippy,
taplo,
rust-analyzer-unwrapped,
cargo-nextest,
rustPlatform,
}:
mkShell {
name = "rust";
strictDeps = true;
packages = [
rustc
cargo
# Tools
(rustfmt.override {asNightly = true;})
clippy
cargo
taplo
# LSP
rust-analyzer-unwrapped
# Additional Cargo tooling
cargo-nextest
];
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}