qemu: fix build when desktop file does not exist (#110721)
The qemu-user variants as used by binfmt emulation through `(lib.systems.elaborate lib.systems.examples.aarch64-multiplatform).emulator pkgs` does not install a .desktop file since qemu 5.2.0. This change allows the build to continue if deletion of the desktop file fails.
This commit is contained in:
parent
7f355dcc4e
commit
b7871c3f2d
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postFixup = ''
|
||||
# the .desktop is both invalid and pointless
|
||||
rm $out/share/applications/qemu.desktop
|
||||
rm -f $out/share/applications/qemu.desktop
|
||||
|
||||
# copy qemu-ga (guest agent) to separate output
|
||||
mkdir -p $ga/bin
|
||||
|
|
Loading…
Reference in a new issue