Skip to content

Question regarding cross-compilation #9

Open
@ghostbuster91

Description

I read that cross-compilation with nix is possible (though it might not always work).
I wanted to try it in this repository but whatever I do I am always getting an error that my nix-daemon cannot build aarch64 which means that I failed do configure cross-compilation.

I wonder if you tried it?

I also came across your post in bananapi forum where you said:

Nix doesn’t do cross-compilation, so any aarch64 system with enough memory for the nix command to and still have enough memory for the compiler to operate. 1GB might work, but you probably are better off with 2GB or more.

Which confuses me quite a bit. Could you shed some light on that?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions