nix: get rust-src component from rust-overlay

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I47eba6fba279ee61a1147fa39dd6789c6a6a6964
This commit is contained in:
raf 2026-02-10 11:53:32 +03:00
commit 8e33088458
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -24,7 +24,7 @@ in
# This is not exactly necessary, but it allows for compiling for various targets
# with the least amount of friction.
(rust-bin.nightly.latest.default.override {
extensions = ["rustfmt" "rust-analyzer" "clippy" "rust-analyzer"] ++ extraComponents;
extensions = ["rustfmt" "rust-src" "rust-analyzer" "clippy" "rust-analyzer"] ++ extraComponents;
targets =
[
"wasm32-unknown-unknown" # web