Skip to content

Build script causes permission errors during build #189

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

You must be logged in to vote

Hi @DrRuhe!

What platform are you trying to build the project on? I see that the flake sets cargoExtraArgs = "--target x86_64-unknown-linux-gnu" yet it also aims to support darwin and linux builds. Judging from the attempt at building libc in the logs, it feels like a failed cross compile (i.e. cargo produces an executable for a platform different than the host trying to execute it).

If you are looking to set up an actual cross-compiled target this example may be useful

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@ipetkov
Comment options

@DrRuhe
Comment options

@ipetkov
Comment options

@DrRuhe
Comment options

@DrRuhe
Comment options

Answer selected by DrRuhe
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