-
-
Notifications
You must be signed in to change notification settings - Fork 559
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
chore: update to rust 1.80 #2344
Conversation
I ran Do either of you know what's up? cc @arcuru @Sciencentistguy Here's the error:
|
It's just a hash mismatch, it looks like he never explained how to update. The method that you're using for the Rust toolchain requires pinning the hash of the toolchain file in flake.nix. So you need to manually update that as well every time you update the Rust Toolchain.
Just change the line in the flake.nix file from "sha256-Ngiz..." to the new "sha256-6eN..." and it should work fine. I tested locally. |
Thanks you!
Ahhh I see. I misunderstood and thought this was originating from the lockfile! Thanks 🙏 |
Yeah the fenix library requires you to specify the hash of your toolchain file. In theory this isn't needed, as it is a local file and versioned by git, but the library does not have the ability to detect this. (the hash is needed for non-local files to ensure reproducability) In general with Nix issues if there's a hash mismatch the solution is to update the mismatched hash with the new one, fwiw. |
Thank you both! I managed this with the last update too 🤦♀️ sorry for the needless ping! |
Checks