diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-15 22:22:16 -0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-04-23 21:48:57 -0400 |
commit | dbb94b984f8282d1d9eada83634fc6777d19bdac (patch) | |
tree | c24746aaf508e692e55f485032447cbdd2bbd31a /lib/systems | |
parent | d591a109beee6512ea45e03e83901d269c8ec39b (diff) |
wasmtime: init and use for emulation
This isn’t really an "emulator" but it’s the closest concept we have
right now.
Diffstat (limited to 'lib/systems')
-rw-r--r-- | lib/systems/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix index c408fe46be6f..5e6d277be7d5 100644 --- a/lib/systems/default.nix +++ b/lib/systems/default.nix @@ -115,8 +115,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 if final.isWasi + then "${pkgs.wasmtime}/bin/wasmtime" else throw "Don't know how to run ${final.config} executables."; } // mapAttrs (n: v: v final.parsed) inspect.predicates |