skypeforlinux: remove nix store path references in desktop files
Because desktop files can be copied to $HOME/.config/autostart, and eventually the Nix store paths they reference will be garbage collected and break.
This commit is contained in:
parent
7408ad5e14
commit
f627f3a2b5
|
@ -110,11 +110,11 @@ in stdenv.mkDerivation {
|
|||
|
||||
# Fix the desktop link
|
||||
substituteInPlace $out/share/applications/skypeforlinux.desktop \
|
||||
--replace /usr/bin/ $out/bin/
|
||||
--replace /usr/bin/ ""
|
||||
substituteInPlace $out/share/applications/skypeforlinux-share.desktop \
|
||||
--replace /usr/bin/ $out/bin/
|
||||
--replace /usr/bin/ ""
|
||||
substituteInPlace $out/share/kservices5/ServiceMenus/skypeforlinux.desktop \
|
||||
--replace /usr/bin/ $out/bin/
|
||||
--replace /usr/bin/ ""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue