about summary refs log tree commit diff
path: root/third_party/nix
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-11-27T18·49+0100
committerandi <andi@notmuch.email>2020-11-27T19·09+0000
commit1ee3a7b2bf030e0eec11fbf43c2acc8dd462ac22 (patch)
tree3f64d2b00a8828bdb0bedb58cc1ad230de5e44b5 /third_party/nix
parent9bf6eb7f82d4b6996e10dbd5780a17850fb93fd8 (diff)
feat(tvix): run the test-vm with ncurses support r/1935
This allows users to use C-A C to access the QEMU console while within
the VM terminal. From there you can control the process (e.g. kill it).

Change-Id: If2eec2e385fd27fc4e20921dcad78be7390f9d2b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2167
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix')
-rw-r--r--third_party/nix/test-vm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/test-vm.nix b/third_party/nix/test-vm.nix
index 2a1056826852..8f77441b7dbd 100644
--- a/third_party/nix/test-vm.nix
+++ b/third_party/nix/test-vm.nix
@@ -9,7 +9,7 @@ let
 
     nix.package = depot.third_party.nix;
 
-    virtualisation.qemu.options = [ "-nographic" ];
+    virtualisation.qemu.options = [ "-nographic" "-curses" ];
 
     nix.nixPath = [
       "depot=${depot.depotPath}"