Commit f627f3a2 authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

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.
parent 7408ad5e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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; {