Skip to content
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

Try to generate NixOS with run-on-arch-action alpine_latest leads to error #90

Open
Chris2011 opened this issue Sep 12, 2022 · 1 comment

Comments

@Chris2011
Copy link

I would like to build an NixOS image, with github actions for my RaspberryPi. When I use the code, that I got from here: https://github.com/Robertof/nixos-docker-sd-image-builder everything is fine and after somehow 25min it ends successfully (code 0): https://github.com/Chris2011/nixos-docker-image-builder/actions/runs/2952094775/jobs/4718626365#step:4:2234

The script checks the architecture, if it is x86, it will use QEMU to emulates it. This is exactly what happens. But I guess it will be much faster when I try native ARM image so I found your repo and I updated my workflows file: https://github.com/Chris2011/nixos-docker-image-builder/blob/dev/.github/workflows/build-nixos-arm.yml

Now, when I run the action on your image with alpine_latest aarch64 it will not run QEMU because it is native aarch64 which is what I want, the problem here is, after ~8min it is still green it ends "successfully (code 1)" but with this error: https://github.com/Chris2011/nixos-docker-image-builder/actions/runs/3039913885/jobs/4895382860#step:3:1580

So my feeling is, that there is smth misbehavior while using your image to build it.

@Chris2011
Copy link
Author

@uraimo can I help you with more info, just tell me, what you need from me. Using your latest verison 2.3.0 will still fail with the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant