Skip to content

Commit

Permalink
Merge pull request NixOS#267029 from Mic92/quickemu
Browse files Browse the repository at this point in the history
quickemu: 4.9 -> 4.9.1
  • Loading branch information
0x4A6F authored Nov 12, 2023
2 parents 3b1a72b + 3db67f8 commit 1eccd4e
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions pkgs/development/quickemu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
, quickemu
, testers
, installShellFiles
, fetchpatch
}:
let
runtimePaths = [
Expand All @@ -51,23 +50,15 @@ in

stdenv.mkDerivation rec {
pname = "quickemu";
version = "4.9";
version = "4.9.1";

src = fetchFromGitHub {
owner = "quickemu-project";
repo = "quickemu";
rev = version;
hash = "sha256-ZCHGZb4mdtnNfFBcSqZJRW7fmkTBrWrVko3iwEhO1RY=";
hash = "sha256-tWl16dd0a6pDz+cUZx9Ku2ov+LJZabR2cDso5tPbML4=";
};

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" |' \
Expand Down

0 comments on commit 1eccd4e

Please sign in to comment.