-
-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NixOS remote builder with cross compilation #60101
Comments
Yeah you can have a NixOS config that is cross compiled. The trick is to set
You need to copy it to the installation afterwards and setup the ssh keys for remote buildings. This means that every time you run |
Maybe it's still too early for it but otherwise I think it would be good to add a section on cross-compiling NixOS to the NixOS manual. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/remote-cross-compiled-builds-for-macos-darwin-from-nixos-remote/5963/1 |
This comment has been minimized.
This comment has been minimized.
Still important to me. |
for reference, I ended up moving to the Raspberry Pi 4 platform and using aarch64 as both the build and host architecture. I also needed to add |
this sounds useful for armv7 phones aswell, i'm looking into using nix-pkgs on ubuntu-touch phones |
Issue description
Is there an established method of using a remote builder with a cross compiler?
I am attempting to run NixOS on a Raspberry Pi using the armv7 architecture, but there is very little software built for it in Hydra so much of the configuration has to be compiled. This compilation process has now been running for three days.
Is there a way to run a builder daemon on my x86_64 system to cross compile to ARM more quickly?
The text was updated successfully, but these errors were encountered: