Skip to content

Building standard library crates via the build-std example fails #740

Answered by ipetkov
purpole asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @purpole thanks for the report and the reproduction steps!

When running nix flake init it will result in a brand new flake.lock file which has all the dependencies at their latest version. In this case you got github:oxalica/rust-overlay/f6c4c2a7b8969c2b172847b3ef474e0d3bd8bdce whose latest nightly compiler seems to have had issues (and I was able to reproduce the issue with that exact commit).

Running nix flake update gave me github:oxalica/rust-overlay/bbab2ab9e1932133b1996baa1dc00fefe924ca81 (which likely has a newer nightly) with which building works again, so try that out!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@purpole
Comment options

Answer selected by ipetkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #739 on November 17, 2024 22:13.