4 ms·
For those on NixOS add boot.binfmt.emulatedSystems = ["aarch64-linux"]; to /etc/nixos/configuration.nix and it will enable running ARM binaries. https://search
by quag 4y 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.binfmt.emulatedSystems&from=0&size=50&sort=relevance&type=packages&query=binfmt https://search.nixos.org/options?channel=21.11&show=boot.bin...
- metadat 4y agoDoes Nix use qemu or a different technique to pull off this one-liner magic?
- zimbatm 4y agoThere 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/111839dcf6e9a8bac6972e234b8aeb88e5c2269e/lib/systems/default.nix#L144-L172 https://github.com/NixOS/nixpkgs/blob/111839dcf6e9a8bac6972e...
- deleted 4y ago[deleted]