Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4c40411b77757ed2087589b5fd140e6e6a6a6964
30 lines
375 B
Nix
30 lines
375 B
Nix
{
|
|
mkShell,
|
|
rustc,
|
|
cargo,
|
|
rust-analyzer-unwrapped,
|
|
rustfmt,
|
|
clippy,
|
|
taplo,
|
|
rustPlatform,
|
|
}:
|
|
mkShell {
|
|
name = "pscand";
|
|
|
|
strictDeps = true;
|
|
packages = [
|
|
rustc
|
|
cargo
|
|
|
|
# Tools
|
|
(rustfmt.override {asNightly = true;})
|
|
clippy
|
|
cargo
|
|
taplo
|
|
|
|
# LSP
|
|
rust-analyzer-unwrapped
|
|
];
|
|
|
|
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
|
|
}
|