Make sure gcc is installed
this post was submitted on 16 Mar 2024
6 points (100.0% liked)
Nix / NixOS
1465 readers
2 users here now
Main links
Videos
founded 1 year ago
MODERATORS
You might get better results with rust-overlay - that's what I've been using to cross-compile for aarch64-linux, and for compiling natively on Mac. Let me plug a guide I wrote, https://nixlang.wiki/en/nix/how-to/development-environment-for-rust#setting-a-fixed-rust-toolchain-version
https://github.com/NixOS/nixpkgs/issues/145726
This might help, or at least point you in the right direction. Apologies but I have to post and run right now, I'll return and see if I can't help more asap.