mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
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
@ -143,7 +143,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
# the .desktop is both invalid and pointless
|
# 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
|
# copy qemu-ga (guest agent) to separate output
|
||||||
mkdir -p $ga/bin
|
mkdir -p $ga/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user