add cargo-flamegraph to dev shell

This commit is contained in:
xenofem 2022-04-28 01:29:11 -04:00
parent cee8c93659
commit c37fa26289

View file

@ -51,7 +51,13 @@
packages."${name}-unwrapped" = project.rootCrate.build; packages."${name}-unwrapped" = project.rootCrate.build;
devShell = pkgs.mkShell { devShell = pkgs.mkShell {
nativeBuildInputs = with pkgs; [ rustc cargo cargo-audit stdenv.cc ]; nativeBuildInputs = with pkgs; [
stdenv.cc
rustc
cargo
cargo-audit
cargo-flamegraph
];
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}; };
} }