diff options
author | Klemens Nanni <klemens@posteo.de> | 2020-11-05 02:12:49 +0100 |
---|---|---|
committer | Andreas Rammhold <andreas@rammhold.de> | 2020-11-05 11:41:53 +0100 |
commit | 5e12d4b409224e83396c4e2dde8cfc0ef8646b9e (patch) | |
tree | d3b2a83e828e25fd0313a864ae34cd42f36d368f /pkgs/applications/networking/instant-messengers/teams | |
parent | e0f258f596bd943ec1a0ca25ddfc9e9b886f32cb (diff) |
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.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/teams')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/teams/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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/ |