microfetch/nix/shell.nix
vali 322726466f shell.nix: add gnuplot
Since Criterion.rs uses gnuplot to generate nice plots, add it to the
shell.
2024-08-15 18:25:07 +02:00

28 lines
350 B
Nix

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