New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/binfmt: handle emulatedSystems #61257
nixos/binfmt: handle emulatedSystems #61257
Conversation
New ones taken from this script: https://github.com/qemu/qemu/blob/master/scripts/qemu-binfmt-conf.sh
I'm not 100% sure how this would work, how are the interpreters specified? |
The interpreter comes from hostPlatform.emulator, which is used for a few build systems that need a native interpreter: https://github.com/NixOS/nixpkgs/pull/58504/files#diff-036410e9211b4336186fc613f7200b12R6372 defined in nixpkgs/lib/systems/default.nix Lines 94 to 120 in 8e4df48
|
I can build some armv7l-linux binaries with:
and
|
Fixes #61248
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)