git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit5e12d4b409224e83396c4e2dde8cfc0ef8646b9e authorKlemens Nanni <klemens@posteo.de> dateThu 5 Nov 2020, 02:12 (6 years ago) parente0f258f
1 file changed+1−1
pkgs/applications/networking/instant-messengers/teams/default.nix+1−1
pkgs/applications/networking/instant-messengers/teams/default.nix+1−1
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
4747 mv share $out/share
4848
4949 substituteInPlace $out/share/applications/teams.desktop \
50− --replace /usr/bin/ $out/bin/
50+ --replace /usr/bin/ ""
5151
5252 ln -s $out/opt/teams/teams $out/bin/
5353