quickemu: correctly handle version 10.0.0 of QEMU

This commit is contained in:
Robert Schütz
2025-06-22 16:38:25 -07:00
parent 4dd11501e1
commit 3dd6e7500a
+9
View File
@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch,
stdenv,
makeWrapper,
gitUpdater,
@@ -67,6 +68,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-sCoCcN6950pH33bRZsLoLc1oSs5Qfpj9Bbywn/uA6Bc=";
};
patches = [
(fetchpatch {
name = "correctly-handle-version-10.0.0-of-qemu.patch";
url = "https://github.com/quickemu-project/quickemu/commit/f25205f4513c4fa72be6940081c62e613d1fddc6.patch";
hash = "sha256-OAXGyhMVDwbUypEPj/eRnH0wZYaL9WLGjbyoobe20UY=";
})
];
postPatch = ''
sed -i \
-e '/OVMF_CODE_4M.secboot.fd/s|ovmfs=(|ovmfs=("${OVMFFull.firmware}","${OVMFFull.variables}" |' \