-
I have a flake.nix file and when I am in my shell, cross-rs is unable to determine my os.
Also another piece of information (from inside my nix-shell):
This works fine outside of my nix-shell. My question is it possible to pass in os or some flag to tell cross which platform I am on (arm64, M2) inside my nix shell? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You need to check the output of rustc for x86_64, cross wont use the darwin binary. I have no clue how nix does rustup, but I feel like they've messed something up.
|
Beta Was this translation helpful? Give feedback.
Ok. I was able to resolve my issue by adding
rustup
to my nix flake file and I guess that's all that was needed. Thank you, now closing.