thedesk: remove original binary from package

This commit is contained in:
P. R. d. O. 2023-11-11 21:53:41 -06:00
parent 647a6f42ee
commit b2879b78cc
No known key found for this signature in database
GPG key ID: 7B0FF33FF90110C7

View file

@ -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