rustPlatform.buildRustPackage: infinite recursion on aarch64-darwin with sysroot
#330036
Labels
0.kind: bug
Something is broken
sysroot
#330036
Describe the bug
On
aarch64-darwin
, I get an infinite recursion error when trying to usesysroot
(by setting a custom rustc target).I do not get this infinite recursion error on
x86_64-linux
.Not sure if related to #180771, but this has popped up a few times for me in the context of nix + rust + darwin => infinite recursion.
Discovered trying to work on #327136.
Steps To Reproduce
Example flake / repo: https://github.com/n8henrie/nix-rust-debug-info/tree/d4d3ee33b380d1f91ec7754201cbb63cf052fa6f
In short,
rustc +nightly -Z unstable-options --print target-spec-json > target.json
"is-builtin": true,
fromtarget.json
.Notify maintainers
I'm unclear if I can just mention a team like this or not:
@NixOS/rust
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: