nix: init tooling

This commit is contained in:
raf 2025-05-24 23:16:00 +03:00
commit b865832523
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 100 additions and 0 deletions

19
nix/shell.nix Normal file
View file

@ -0,0 +1,19 @@
{
mkShell,
rust-analyzer,
rustfmt,
clippy,
cargo,
rustPlatform,
}:
mkShell {
name = "rust";
packages = [
rust-analyzer
rustfmt
clippy
cargo
];
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}