systems: add “emultator” for wasm
v8 can run any wasm bytecode
This commit is contained in:
parent
f455a07f13
commit
20a4bbe23b
|
@ -106,6 +106,8 @@ rec {
|
|||
then "${wine}/bin/${wine-name}"
|
||||
else if final.isLinux && pkgs.stdenv.hostPlatform.isLinux
|
||||
then "${qemu-user}/bin/qemu-${final.qemuArch}"
|
||||
else if final.isWasm
|
||||
then "${pkgs.v8}/bin/d8"
|
||||
else throw "Don't know how to run ${final.config} executables.";
|
||||
|
||||
} // mapAttrs (n: v: v final.parsed) inspect.predicates
|
||||
|
|
Loading…
Reference in New Issue