config/profiles/shell/binfmt-emu.nix

15 lines
292 B
Nix
Raw Normal View History

2023-03-12 05:14:28 +01:00
{ pkgs, ... }:
{
# run/build weird binaries
# TODO: somehow make sure this is in sync with remote-builders
boot.binfmt.emulatedSystems = [
"wasm32-wasi"
"wasm64-wasi"
"x86_64-windows"
"aarch64-linux"
"riscv64-linux"
#"x86_64-darwin"
#"aarch64-darwin"
];
}