summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2020-12-31 13:21:35 +0700
committerBen Siraphob <bensiraphob@gmail.com>2020-12-31 13:22:12 +0700
commitb77ca83282ca5980fc593c0d703b12af04a5c01f (patch)
tree476b92dabe7ff4a8500adba1056b64b342c081be /lib
parentedf334d2ee6ca9af95cd485c5e7cc449468fcf7c (diff)
lib/systems: add emulator for mmix
Diffstat (limited to 'lib')
-rw-r--r--lib/systems/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index e31a8e65f2a0..4edcbeb36f16 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -124,6 +124,8 @@ rec {
then "${qemu-user}/bin/qemu-${final.qemuArch}"
else if final.isWasi
then "${pkgs.wasmtime}/bin/wasmtime"
+ else if final.isMmix
+ then "${pkgs.mmixware}/bin/mmix"
else throw "Don't know how to run ${final.config} executables.";
} // mapAttrs (n: v: v final.parsed) inspect.predicates