-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RUST_SRC_PATH = "${pkgs.rustc.src}/lib/rustlib/src/rust/src/";
is wrong?
#60
Comments
RUST_SRC_PATH = "${pkgs.rustc.src}/lib/rustlib/src/rust/src/";
is wrongRUST_SRC_PATH = "${pkgs.rustc.src}/lib/rustlib/src/rust/src/";
is wrong?
Or maybe |
I don't think it does since it tries to lookup the exact directory to check if it's valid rust-lang/rust-analyzer@85db47a |
After more digging it seems that the root cause is a need for more recnet Though that |
In recent versions of nixpkgs, rust-analyzer is wrapped to use the right value of this env var, so this could be removed. |
@symphorien I'm not sure if I understand. The main problem that I've seen is that this env var points to a tar file, and rust-analyzer does not seem to support anything like this. I just wanted to point it out to potentially help , and if I'm just confused about something, feel free to close. |
I meant: rust-analyzer works fine if you remove the env var, because of https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/rust/rust-analyzer/wrapper.nix#L14 |
pkgs.rustc.src
is arust-analyzer
doesn't seem to work with it.The text was updated successfully, but these errors were encountered: