pscand/nix/shell.nix
NotAShelf a4a0b9135a
nix: use rustfmt nightly
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4c40411b77757ed2087589b5fd140e6e6a6a6964
2026-02-19 01:42:45 +03:00

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}";
}