microfetch/nix/shell.nix
NotAShelf 4c22cf5d2a
nix: use nightly rustfmt; add taplo
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie4a1b5a29166931aac006a44874374346a6a6964
2025-11-17 16:20:41 +03:00

28 lines
385 B
Nix

{
mkShell,
rust-analyzer-unwrapped,
rustfmt,
clippy,
cargo,
taplo,
rustc,
rustPlatform,
gnuplot,
}:
mkShell {
strictDeps = true;
nativeBuildInputs = [
cargo
rustc
rust-analyzer-unwrapped
(rustfmt.override {asNightly = true;})
clippy
taplo
gnuplot # For Criterion.rs plots
];
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}