23 lines
337 B
Nix
23 lines
337 B
Nix
{ pkgs ? import <nixpkgs> {}}:
|
|
pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
# Rust toolchain
|
|
cargo
|
|
rustc
|
|
rustfmt
|
|
clippy
|
|
rust-analyzer
|
|
|
|
# Additional tools
|
|
cargo-watch
|
|
cargo-edit
|
|
# Profiling tools
|
|
cargo-flamegraph
|
|
samply
|
|
perf
|
|
];
|
|
|
|
# Environment variables
|
|
RUST_BACKTRACE = 1;
|
|
}
|