Add rust-src to Nix development shell

rust-analyzer can't find the standard library source code otherwise.
This commit is contained in:
V authored and Wez Furlong committed 2024-05-04 16:09:37 -07:00
1 parent 84e8c966a1
commit bbbe9c2cea
1 file changed
+6 -2
+6 -2
View File
@@ -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