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 overlay: no such file or directory #66
Comments
Are you on NixOS? It looks like the install.sh script needs to be patched to correct the bash path. |
Yes I'm on NixOS. Has an upstream path changed to break the build, I'm pretty certain it's not me. |
I'm running into this issue as well. For me, on NixOS # Cargo and other Rust binaries are available in my PATH
$ which cargo
/run/current-system/sw/bin/cargo
# But they can't be executed
$ cargo --version
bash: /run/current-system/sw/bin/cargo: No such file or directory
# Because the interpreter isn't patched
$ readelf -l $(which cargo) | grep interpreter
[Requesting program interpreter: /lib64/ld-linux-x86-64.so.2] EDIT: Actually, the problem I'm running into on is different from this one. For me,
This is because
|
I don't have time to look deeply into it so here are some pointers: There is already an attempt to patch the install script at https://github.com/mozilla/nixpkgs-mozilla/blob/master/rust-overlay.nix#L173, maybe the location of the script has changed? I would also recommend submitting the change to rust-lang to always use |
@rushmorem try updating your |
@sjmackenzie I will, thanks. Also, according to NixOS/nixpkgs#29278 (comment) that should work so feel free to close. EDIT: Just to clarify, I was already this repo's latest rev (7e54fb3). What I needed to update was my NixOS version. |
Expected behaviour:
Rust nightly is downloaded and run without a problem
Actual behaivour
Rust nightly fails with this error:
Steps to reproduce
install rust rightly using this repository.
The text was updated successfully, but these errors were encountered: