From 71f210137ee023bec874d8b23d82180fb3cdd902 Mon Sep 17 00:00:00 2001 From: Elias Probst Date: Sun, 27 Dec 2020 22:50:41 +0100 Subject: [PATCH] skypeforlinux: fix Exec paths in further desktop files The `Exec=` paths in `share/applications/skypeforlinux-share.desktop` and `share/kservices5/ServiceMenus/skypeforlinux.desktop` still pointed to `/usr/bin/skypeforlinux`. Apply `substituteInPlace` on them as well. --- .../networking/instant-messengers/skypeforlinux/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix index 47a79c7309df..d4e43ed3a92d 100644 --- a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix +++ b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix @@ -108,6 +108,10 @@ in stdenv.mkDerivation { # Fix the desktop link substituteInPlace $out/share/applications/skypeforlinux.desktop \ --replace /usr/bin/ $out/bin/ + substituteInPlace $out/share/applications/skypeforlinux-share.desktop \ + --replace /usr/bin/ $out/bin/ + substituteInPlace $out/share/kservices5/ServiceMenus/skypeforlinux.desktop \ + --replace /usr/bin/ $out/bin/ ''; meta = with stdenv.lib; {