mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 03:14:03 +00:00
thedesk: remove original binary from package
This commit is contained in:
parent
647a6f42ee
commit
b2879b78cc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user