From 5e12d4b409224e83396c4e2dde8cfc0ef8646b9e Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Thu, 5 Nov 2020 02:12:49 +0100 Subject: teams: Do $PATH lookup in teams.desktop instead of hardcoding derivation See db236e588de "steam: Do $PATH lookup in steam.desktop [...]". tl;dr: Otherwise widget/panel/desktop icons in DEs like KDE break. I verified that there are no other (executable) paths in the .desktop file and therefore went for this minimal diff. --- pkgs/applications/networking/instant-messengers/teams/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/applications') diff --git a/pkgs/applications/networking/instant-messengers/teams/default.nix b/pkgs/applications/networking/instant-messengers/teams/default.nix index f1a2c137ad29a..bf864eb414750 100644 --- a/pkgs/applications/networking/instant-messengers/teams/default.nix +++ b/pkgs/applications/networking/instant-messengers/teams/default.nix @@ -47,7 +47,7 @@ stdenv.mkDerivation rec { mv share $out/share substituteInPlace $out/share/applications/teams.desktop \ - --replace /usr/bin/ $out/bin/ + --replace /usr/bin/ "" ln -s $out/opt/teams/teams $out/bin/ -- cgit 1.4.1