qemu: Add patch to fix 9p support on Darwin
This patch fixes issues with error codes on Darwin host and Linux guest. It has landed in QEMU master, so should be included in the next release. Related to #108984.
This commit is contained in:
parent
773140e96d
commit
b0bffdd36f
@ -115,8 +115,14 @@ stdenv.mkDerivation rec {
|
||||
url = "https://gitlab.com/raboof/qemu/-/commit/3fb5e8fe4434130b1167a995b2a01c077cca2cd5.patch";
|
||||
sha256 = "sha256-evzrN3i4ntc/AFG0C0rezQpQbWcnx74nXO+5DLErX8o=";
|
||||
})
|
||||
# fix 9p on macOS host, landed in master
|
||||
(fetchpatch {
|
||||
name = "fix-9p-on-macos.patch";
|
||||
url = "https://gitlab.com/qemu/qemu/-/commit/f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65.patch";
|
||||
sha256 = "sha256-8i13wU135h+YxoXFtkXweBN3hMslpWoNoeQ7Ydmn3V4=";
|
||||
})
|
||||
]
|
||||
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;
|
||||
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;
|
||||
|
||||
postPatch = ''
|
||||
# Otherwise tries to ensure /var/run exists.
|
||||
|
Loading…
Reference in New Issue
Block a user