Is it possible to bundle e.g. a .deb package for aarch64 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 or nix build -f default.nix do produce aarch64 binaries (i checked with the file command), if i try doing nix bundle -f default.nix --bundler github:NixOS/bundlers#toDEB, i end up with a .deb file for amd64.
Is it possible to bundle e.g. a
.debpackage foraarch64system 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-buildornix build -f default.nixdo produceaarch64binaries (i checked with thefilecommand), if i try doingnix bundle -f default.nix --bundler github:NixOS/bundlers#toDEB, i end up with a.debfile foramd64.