mirror of
https://github.com/NotAShelf/microfetch.git
synced 2025-12-07 21:43:51 +00:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Id51e62dda1ec2ba895ffdbbd25c2f1256a6a6964
32 lines
443 B
Nix
32 lines
443 B
Nix
{
|
|
mkShell,
|
|
cargo,
|
|
rustc,
|
|
mold,
|
|
clang,
|
|
rust-analyzer-unwrapped,
|
|
rustfmt,
|
|
clippy,
|
|
taplo,
|
|
rustPlatform,
|
|
gnuplot,
|
|
}:
|
|
mkShell {
|
|
name = "microfetch";
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
cargo
|
|
rustc
|
|
mold
|
|
clang
|
|
|
|
rust-analyzer-unwrapped
|
|
(rustfmt.override {asNightly = true;})
|
|
clippy
|
|
taplo
|
|
|
|
gnuplot # for Criterion.rs plots
|
|
];
|
|
|
|
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
|
|
}
|