0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/testing: Fix graphical tty output (#387836)

This commit is contained in:
Jacek Galowicz 2025-03-12 07:21:32 -07:00 committed by GitHub
commit b20413d443
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,13 +153,10 @@ in
# be set.
virtualisation = lib.optionalAttrs (options ? virtualisation.qemu) {
qemu = {
# Only use a serial console, no TTY.
# NOTE: optionalAttrs
# test-instrumentation.nix appears to be used without qemu-vm.nix, so
# we avoid defining consoles if not possible.
# we avoid defining attributes if not possible.
# TODO: refactor such that test-instrumentation can import qemu-vm
# or declare virtualisation.qemu.console option in a module that's always imported
consoles = [ qemu-common.qemuSerialDevice ];
package = lib.mkDefault pkgs.qemu_test;
};
};