nix: initial tooling

This commit is contained in:
raf 2025-07-22 00:11:07 +03:00
commit 8547710b62
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
5 changed files with 103 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}";
}