about summary refs log tree commit diff
path: root/lib/systems
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-04-15 22:22:16 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-23 21:48:57 -0400
commitdbb94b984f8282d1d9eada83634fc6777d19bdac (patch)
treec24746aaf508e692e55f485032447cbdd2bbd31a /lib/systems
parentd591a109beee6512ea45e03e83901d269c8ec39b (diff)
downloadnixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.tar
nixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.tar.gz
nixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.tar.bz2
nixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.tar.lz
nixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.tar.xz
nixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.tar.zst
nixlib-dbb94b984f8282d1d9eada83634fc6777d19bdac.zip
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.nix4
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