Like #45 I am interested in producing binaries for a different architecture.
I'm using the nix bundle command. I hope this is the right place to file issues for nix bundle and I can see that the README.md file here points out some limitations:
This is a standalone file that is completely portable! As long as you are running the same architecture Linux kernel and have a shell interpreter available it will run.
This makes me think that what I'm trying to do is not supposed to work yet.
On my x86_64 Linux machine running
$ nix bundle nixpkgs#legacyPackages.aarch64-linux.hello
succeeds, but produces a binary which fails to launch
$ ./hello
execvp(/nix/store/1ncnl3siyp20h6rwvpjb756mp7347nwb-hello-2.12.1/bin/hello): No such file or directory
It would of course be great if this was working, but I think it would already be an improvement if it wasn't failing silently.
Like #45 I am interested in producing binaries for a different architecture.
I'm using the
nix bundlecommand. I hope this is the right place to file issues fornix bundleand I can see that the README.md file here points out some limitations:This makes me think that what I'm trying to do is not supposed to work yet.
On my x86_64 Linux machine running
succeeds, but produces a binary which fails to launch
It would of course be great if this was working, but I think it would already be an improvement if it wasn't failing silently.