about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authormatthewcroughan <matt@croughan.sh>2022-03-31 21:14:47 +0100
committerAlyssa Ross <hi@alyssa.is>2022-04-02 16:26:00 +0000
commit96674e9c3b55995ded1b99ec41599e8d6f7f436b (patch)
tree2bb40ba1a0dc4cb65a2513f3e2511d95bc175161 /pkgs/applications
parenta0a77f1c738384eb82560b9d359e27afb35c4dfc (diff)
downloadnixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.tar
nixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.tar.gz
nixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.tar.bz2
nixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.tar.lz
nixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.tar.xz
nixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.tar.zst
nixlib-96674e9c3b55995ded1b99ec41599e8d6f7f436b.zip
qemu: add patch to fix MTP devices
Co-authored-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/virtualization/qemu/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix
index 8f22e499d359..954fd3f051a9 100644
--- a/pkgs/applications/virtualization/qemu/default.nix
+++ b/pkgs/applications/virtualization/qemu/default.nix
@@ -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";