Skip to content

Commit

Permalink
qemu: guard desktop file removal
Browse files Browse the repository at this point in the history
The qemu.desktop file should only be attempted to be removed if available.
  • Loading branch information
573 committed Feb 15, 2021
1 parent bed33d1 commit e74ae54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/virtualization/qemu/default.nix
Expand Up @@ -143,7 +143,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
Expand Down

0 comments on commit e74ae54

Please sign in to comment.