qemu: add patch to fix MTP devices

Co-authored-by: Alyssa Ross <hi@alyssa.is>
This commit is contained in:
matthewcroughan 2022-03-31 21:14:47 +01:00 committed by Alyssa Ross
parent a0a77f1c73
commit 96674e9c3b

View file

@ -88,6 +88,11 @@ stdenv.mkDerivation rec {
patches = [
./fix-qemu-ga.patch
# MTP Devices were broken in QEMU 6.1.0, this patch fixes that.
(fetchpatch {
url = "https://gitlab.com/qemu-project/qemu/-/commit/9d30c78c7d3b994825cbe63fa277279ae3ef4248.patch";
sha256 = "sha256-AChB9HMEShrM+2UW2aOT9+MqlAm568sG3HxHK3nDC/M=";
})
# Cocoa clipboard support only works on macOS 10.14+
(fetchpatch {
url = "https://gitlab.com/qemu-project/qemu/-/commit/7e3e20d89129614f4a7b2451fe321cc6ccca3b76.diff";