Merge pull request #113189 from nix-things-mobile/fix/qemu-repair

qemu: guard desktop file removal
This commit is contained in:
Florian Klink 2021-02-15 21:54:29 +01:00 committed by GitHub
commit c70a8c8d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ stdenv.mkDerivation rec {
postFixup = ''
# the .desktop is both invalid and pointless
rm -f $out/share/applications/qemu.desktop
test -e $out/share/applications/qemu.desktop && rm -f $out/share/applications/qemu.desktop
# copy qemu-ga (guest agent) to separate output
mkdir -p $ga/bin