Many Rust analysis tools will inspect RUST_SRC_PATH
, so you should be able to do something like (untested):
pkgs.mkShell {
# ...
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}
Many Rust analysis tools will inspect RUST_SRC_PATH
, so you should be able to do something like (untested):
pkgs.mkShell {
# ...
RUST_SRC_PATH = "${rustPlatform.rustLibSrc}";
}