-
Notifications
You must be signed in to change notification settings - Fork 130
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
Missing toRustTarget in rust-overlay #232
Comments
@matthewbauer: do you think it could be to do with this commit? efda5b3 👀 Also, hey again 😁 |
I'm able to work around it for now by pointing to 4521bc6 instead of |
toRustTarget was added in https://github.com/nixos/nixpkgs/commits/83ac9c07e4df352e177ebdf978320089a137183a So not all nixpkgs have it. We can provide a backup of it in this case. Fixes mozilla#232
Hey! Sorry about that. It looks like toRustTarget was added only in 20.03, so many users won't have it. It's easiest to just provide a backup in this case, so done in: |
Hmmm weird... I'm on 20.03 as far as I'm aware (still getting used to the nix ecosystem). But glad you have a fix for pre-20.03 too 🙌 |
I'm running master of nixpkgs and I still hit this error. I have to roll back to July 14.
|
Rolling back to July 14 worked great. I will hold here until the problem is fixed. |
same here, I had to |
I am running 20.03, it definitely has Ok. It seems to come up when you mix packages from the overlay and from not the overlay. For example, if I do this
Any included in the shell that is not explicitly in that list causes problems. However, if I change it to
things work just fine. That solves my problem (well enough at least). |
resolution per comment mozilla/nixpkgs-mozilla#232 (comment)
I am a bit confused what is going on, but I made https://github.com/NixOS/nixpkgs/pull/144193/files in part so we could make |
Hey hey, long time listener first-time caller 👋 I was greeted with an error in the overlay this morning and I was wondering if I could get some help on figuring out what went wrong :)
I have the usual line in my
shell.nix
:And it errored with:
The file in question --
rust-overlay.nix
-- looks like below. It's giving out abouthostTargets
ingetComponents
The text was updated successfully, but these errors were encountered: