Closed matthiasdotsh closed 1 month ago
I think this was an issue with the version of nixpkgs this project was pinned to. I've bumped it as part of a bigger refactor, so it should work now. Let me know if it's still broken!
Regarding cross-compiling bundling, it's a limitation of nix bundle
(and flakes in general) that they don't support specifying how to cross-compile.
I can confirm it works on aarch64 (host is also aarch64). We have been using it over at https://github.com/Azathothas/Toolpacks [+] mpv: https://github.com/Azathothas/Toolpacks/blob/main/.github/scripts/aarch64_Linux/bins/mpv.sh [+] ladybird: https://github.com/Azathothas/Toolpacks/blob/main/.github/scripts/aarch64_Linux/bins/ladybird.sh and many more.
Thanks for confirming!
Thank you very much for this fantastic package. I discovered it yesterday, and I successfully packaged my own derivation as an AppImage—it worked flawlessly! Very impressive!
Now, I'm wondering if it's possible to use this tool to build AppImages for aarch64 to run on a Raspberry Pi.
So far, I have not been able to cross-compile a "Hello" AppImage, nor have I managed to build it natively on the Raspberry Pi as an AppImage.
Cross-compilation:
Native build on raspberry pi
Compiling 'Hello' on a Raspberry Pi or cross-compiling it on an x86 machine without bundling it as an AppImage works perfectly fine.
Would you expect this to work in principle, or could you perhaps tell me what I might be doing wrong?