diff options
author | K900 <me@0upti.me> | 2024-02-26 11:32:32 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-02-27 23:15:59 +0300 |
commit | a15aa7a3f35e95e788cdc1f8ac2df379ccc43577 (patch) | |
tree | d631ba200eceb116944ae29cf0701d0b46e8cf65 /pkgs/development/quickemu | |
parent | bf5c44d0d7db023d07924fbc05bef92f223c0596 (diff) |
treewide: clean up misc OVMF.fd references
We have passthru attributes, use them.
Diffstat (limited to 'pkgs/development/quickemu')
-rw-r--r-- | pkgs/development/quickemu/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/quickemu/default.nix b/pkgs/development/quickemu/default.nix index 576c827e84b08..c8893a4e06b2b 100644 --- a/pkgs/development/quickemu/default.nix +++ b/pkgs/development/quickemu/default.nix @@ -61,8 +61,8 @@ stdenv.mkDerivation rec { postPatch = '' sed -i \ - -e '/OVMF_CODE_4M.secboot.fd/s|ovmfs=(|ovmfs=("${OVMFFull.fd}/FV/OVMF_CODE.fd","${OVMFFull.fd}/FV/OVMF_VARS.fd" |' \ - -e '/OVMF_CODE_4M.fd/s|ovmfs=(|ovmfs=("${OVMF.fd}/FV/OVMF_CODE.fd","${OVMF.fd}/FV/OVMF_VARS.fd" |' \ + -e '/OVMF_CODE_4M.secboot.fd/s|ovmfs=(|ovmfs=("${OVMFFull.firmware}","${OVMFFull.variables}" |' \ + -e '/OVMF_CODE_4M.fd/s|ovmfs=(|ovmfs=("${OVMF.firmware}","${OVMF.variables}" |' \ -e '/cp "''${VARS_IN}" "''${VARS_OUT}"/a chmod +w "''${VARS_OUT}"' \ -e 's/Icon=.*qemu.svg/Icon=qemu/' \ quickemu |