From 4ad340f37c1c4d632b0638a631d4e23a91f257e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 1 Mar 2021 18:32:39 +0100 Subject: [PATCH] Revert "qemu: guard desktop file removal" This reverts commit e74ae54da58655d9a348e4324dcffaa7d831dbe3. rm -f ignores if the file exists or not. --- pkgs/applications/virtualization/qemu/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index dd1a2da01711..b4b16e216893 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -147,7 +147,7 @@ stdenv.mkDerivation rec { postFixup = '' # the .desktop is both invalid and pointless - test -e $out/share/applications/qemu.desktop && rm -f $out/share/applications/qemu.desktop + rm -f $out/share/applications/qemu.desktop # copy qemu-ga (guest agent) to separate output mkdir -p $ga/bin