@@ -119,6 +119,12 @@ stdenv.mkDerivation rec {
119119 url = "https://gitlab.com/qemu-project/qemu/-/commit/eb94846280df3f1e2a91b6179fc05f9890b7e384.patch";
120120 sha256 = "sha256-p31fd47RTSw928DOMrubQQybnzDAGm23z4Yhe+hGJQ8=";
121121 })
122+ # Fixes socket_sockaddr_to_address_unix assertion errors in some setups. Remove with next release.
123+ (fetchpatch {
124+ name = "fix-unix-socket-path-copy-again.patch";
125+ url = "https://gitlab.com/qemu-project/qemu/-/commit/118d527f2e4baec5fe8060b22a6212468b8e4d3f.patch";
126+ sha256 = "sha256-ox+JSpc0pqd3bMi5Ot7ljQyk70SX8g+BLufR06mZPps=";
127+ })
122128 ] ++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch
123129 ++ lib.optionals stdenv.hostPlatform.isMusl [
124130 ./sigrtminmax.patch