teams: Do $PATH lookup in teams.desktop instead of hardcoding derivation
See db236e588d
"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.
This commit is contained in:
parent
e0f258f596
commit
5e12d4b409
@ -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/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user