Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I476156f5f0fa069135862cfac6cafdc46a6a6964
25 lines
293 B
Nix
25 lines
293 B
Nix
{
|
|
mkShell,
|
|
cargo,
|
|
clippy,
|
|
pkg-config,
|
|
rust-analyzer,
|
|
rustc,
|
|
rustfmt,
|
|
taplo,
|
|
}:
|
|
mkShell {
|
|
name = "rust";
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
cargo
|
|
rustc
|
|
pkg-config
|
|
|
|
rust-analyzer
|
|
clippy
|
|
(rustfmt.override {asNightly = true;})
|
|
taplo
|
|
];
|
|
}
|