pscand/nix/shell.nix
NotAShelf d8f0bf3b09
nix: add package & NixOS module
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5bfbacb984356f912f1f40d6209f0a896a6a6964
2026-02-19 00:13:18 +03:00

30 lines
344 B
Nix

{
mkShell,
rustc,
cargo,
rust-analyzer-unwrapped,
rustfmt,
clippy,
taplo,
rustPlatform,
}:
mkShell {
name = "pscand";
strictDeps = true;
packages = [
rustc
cargo
# Tools
rustfmt
clippy
cargo
taplo
# LSP
rust-analyzer-unwrapped
];
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}