Merge pull request #266371 from bbigras/auto-update/quickemu

quickemu: 4.8 -> 4.9
This commit is contained in:
Weijia Wang 2023-11-09 04:50:51 +01:00 committed by GitHub
commit 636d070567
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@
, quickemu
, testers
, installShellFiles
, fetchpatch
}:
let
runtimePaths = [
@ -50,15 +51,23 @@ in
stdenv.mkDerivation rec {
pname = "quickemu";
version = "4.8";
version = "4.9";
src = fetchFromGitHub {
owner = "quickemu-project";
repo = "quickemu";
rev = version;
hash = "sha256-QchY9inmBqAwNEhUL+uFCRX1laaM57ICbDJEBW7qTic=";
hash = "sha256-ZCHGZb4mdtnNfFBcSqZJRW7fmkTBrWrVko3iwEhO1RY=";
};
patches = [
# https://github.com/quickemu-project/quickemu/pull/815
(fetchpatch {
url = "https://github.com/quickemu-project/quickemu/commit/2b9d95a746fd85be0cea48e5544b18dc3ae18d27.patch";
hash = "sha256-fTJEd3o7LznT1mGwfxXWlW8XM1BmIeId+j8pGjIfIcE=";
})
];
postPatch = ''
sed -i \
-e '/OVMF_CODE_4M.secboot.fd/s|ovmfs=(|ovmfs=("${OVMFFull.fd}/FV/OVMF_CODE.fd","${OVMFFull.fd}/FV/OVMF_VARS.fd" |' \