nix: add cargo-nextets to devshell; minor cleanup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie10228eac138766923d6325f4b06070f6a6a6964
This commit is contained in:
parent
4707a7e49f
commit
d744510ab2
1 changed files with 7 additions and 6 deletions
|
|
@ -5,13 +5,14 @@
|
||||||
rustfmt,
|
rustfmt,
|
||||||
clippy,
|
clippy,
|
||||||
taplo,
|
taplo,
|
||||||
rust-analyzer-unwrapped,
|
rust-analyzer,
|
||||||
rustPlatform,
|
cargo-nextest,
|
||||||
}:
|
}:
|
||||||
mkShell {
|
mkShell {
|
||||||
name = "rust";
|
name = "rust";
|
||||||
|
|
||||||
packages = [
|
strictDeps = true;
|
||||||
|
nativeBuildInputs = [
|
||||||
rustc
|
rustc
|
||||||
cargo
|
cargo
|
||||||
|
|
||||||
|
|
@ -19,8 +20,8 @@ mkShell {
|
||||||
clippy
|
clippy
|
||||||
cargo
|
cargo
|
||||||
taplo
|
taplo
|
||||||
rust-analyzer-unwrapped
|
rust-analyzer
|
||||||
];
|
|
||||||
|
|
||||||
env.RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
|
cargo-nextest
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue