-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Doing cross-compiled bundles? #8
Comments
You checkout https://nixos.wiki/wiki/Cross_Compiling - probably something like:
if you want to build curl I think it's unrelated to bundling |
I too experience this issue! I bundled a cross compiled package from a flake:
I build the bundle with:
And when I
Also the |
Yep, the issue is that the |
I managed to generate a Here's a link to my implementation: Note that in order to use it you have to know your target architecture's name in Debian's terminology - there is not a ready to use Nix table for that in Nixpkgs' |
Is it possible to bundle e.g. a
.deb
package foraarch64
system when compiling from an x86 system?I'm testing with a very basic cmake c++ hello world, but it seems to me that, even if
nix-build
ornix build -f default.nix
do produceaarch64
binaries (i checked with thefile
command), if i try doingnix bundle -f default.nix --bundler github:NixOS/bundlers#toDEB
, i end up with a.deb
file foramd64
.The text was updated successfully, but these errors were encountered: