rom/nix/shell.nix
NotAShelf c07b295f71
initial commit
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69644236ae18e7b46856fb6d6d6c998f8467
2025-10-05 21:14:18 +03:00

26 lines
329 B
Nix

{
mkShell,
rustc,
cargo,
rustfmt,
clippy,
taplo,
rust-analyzer-unwrapped,
rustPlatform,
}:
mkShell {
name = "rust";
packages = [
rustc
cargo
(rustfmt.override {asNightly = true;})
clippy
cargo
taplo
rust-analyzer-unwrapped
];
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}