Add rust-src to Nix development shell
rust-analyzer can't find the standard library source code otherwise.
This commit is contained in:
1 parent
84e8c966a1
commit
bbbe9c2cea
1 file changed
+6
-2
+6
-2
@@ -162,8 +162,12 @@
|
||||
buildInputs =
|
||||
buildInputs
|
||||
++ (with pkgs.rust-bin; [
|
||||
stable.latest.minimal
|
||||
stable.latest.clippy
|
||||
(stable.latest.minimal.override {
|
||||
extensions = [
|
||||
"clippy"
|
||||
"rust-src"
|
||||
];
|
||||
})
|
||||
|
||||
nightly.latest.rustfmt
|
||||
nightly.latest.rust-analyzer
|
||||
|
||||
Reference in new issue
Block a user