From b2879b78cc8953252b1ec9edfb9652e55ce23eff Mon Sep 17 00:00:00 2001 From: "P. R. d. O." Date: Sat, 11 Nov 2023 21:53:41 -0600 Subject: [PATCH] thedesk: remove original binary from package --- pkgs/applications/misc/thedesk/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/misc/thedesk/default.nix b/pkgs/applications/misc/thedesk/default.nix index 5d704acb2351..faf32c96a19e 100644 --- a/pkgs/applications/misc/thedesk/default.nix +++ b/pkgs/applications/misc/thedesk/default.nix @@ -31,6 +31,9 @@ stdenv.mkDerivation rec { mv usr $out mv opt $out + # binary is not used and probably vulnerable to CVE(s) + rm $out/opt/TheDesk/thedesk + substituteInPlace $out/share/applications/thedesk.desktop \ --replace '/opt/TheDesk' $out/bin