Hacker News new | ask | show | jobs
by quag 1516 days ago
For those on NixOS add boot.binfmt.emulatedSystems = ["aarch64-linux"]; to /etc/nixos/configuration.nix and it will enable running ARM binaries.

https://search.nixos.org/options?channel=21.11&show=boot.bin...

1 comments

Does Nix use qemu or a different technique to pull off this one-liner magic?
There is one emulator mapped per target system. Depending on the target system it will use qemu, wine, wasmtime or mmixware.

https://github.com/NixOS/nixpkgs/blob/111839dcf6e9a8bac6972e...