qemu: fix virtio-gpu display issues

This commit is contained in:
qubitnano 2024-01-02 17:54:11 -05:00 committed by Alyssa Ross
parent 588fb9b555
commit 7d993cf0b9

View File

@ -135,6 +135,11 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-oC+bRjEHixv1QEFO9XAm4HHOwoiT+NkhknKGPydnZ5E=";
revert = true;
})
# Fix display issues when using virtio-gpu on 8.2.0 https://gitlab.com/qemu-project/qemu/-/issues/2051
(fetchpatch {
url = "https://gitlab.com/qemu-project/qemu/-/commit/9d5b42beb6978dc6219d5dc029c9d453c6b8d503.diff";
sha256 = "sha256-NknkH/gFTsMcdq8/ArwM4+qrpU+ZHd+xVMFUuMJTtf0=";
})
]
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;