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