nix-ld icon indicating copy to clipboard operation
nix-ld copied to clipboard

arm64 non-NixOS support on amd64?

Open ghagl opened this issue 1 year ago • 1 comments

Hi!

I have binfmt working on my NixOS installation and it works for cross-compiled NixOS binaries, but not for non-NixOS aarch64 binaries. I think nix-ld should work for this purpose, but I am not sure how?

I get qemu-aarch64: Could not open '/lib/ld-linux-aarch64.so.1': No such file or directory

My try: programs.nix-ld.libraries = with pkgs; [ pkgsCross.aarch64-multiplatform.glibc ];

ghagl avatar Feb 03 '24 21:02 ghagl