-
Notifications
You must be signed in to change notification settings - Fork 362
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
[BUG] Rust toolchain linking broken - CARGO_HOME not set #1419
Comments
This seems to be a devenv issue (i think). |
Also the local example |
What is interesting though is that it is independent of the devenv.lock - so also old rust installs dont work anymore. Either this is something internal then or still correlated with NixOS, just in a weird way that only breaks devenv... Happy for any support, willing to PR, but I dont know what is wrong yet. |
bump... - this is breaking my setup fully. Can anyone reproduce this? |
I'm seeing this issue, might or might not be related:
Same build and devenv works fine on aarch64-darwin. |
Hm not sure if this is the same issue. Depending on what you are doing this might also just be missing some cross-compilation setup (using fenix with the musl toolchain). |
I don't know much about Rust, but I'm not attempting a cross-compilation... |
I finally gave it another debug and found the culprit. |
The / directory of the cargo package does not allow .package-cache |
nevermind. |
Describe the bug
All cargo subcommands are broken for me.
For example:
This also goes for anything else, including rust analyzer, breaking most IDEs.
To reproduce
Now run for example:
rust-analyzer analysis-stats .
And you will get:
Version
devenv 1.0.8 (x86_64-linux)
Extra info
I am on NixOS, so nothing "local" is helping me resolve this. I can work around it (but not in IDEs) with using
steam-run
The text was updated successfully, but these errors were encountered: