nixpkgs/pkgs/games/steam
Klemens Nanni db236e588d steam: Do $PATH lookup in steam.desktop instead of hardcoding derivation
The desktop application and the absoloute path work fine.
But consider desktop environments such as KDE where, in the application
menu, one can right click entries and pin them to widgets/panels, add
them to the desktop, etc.

Doing so effectively means copying
/run/current-system/sw/share/applications/steam.desktop to
~/.local/share/plasma_icons/ or ~/Desktop/, i.e. managed stated gets
duplicated outside the nix scope.

The problem here is that steam.desktop hardcodes

	Exec=/nix/store/<derivation hash>-steam/bin/steam %U

this means such copies will point at wrong/outdated derivations once
the steam package changes, i.e. widgets/panels/desktop icons will no
longer work and must be recreated.

Therefore replace the absoloute path with a $PATH lookup to allow "safe"
copying;  this isn't optimal but other applications such Firefox and
Thunderbrid currently behave the same way ($PATH lookup in their
.desktop file).
2020-10-27 16:21:43 +01:00
..
build-wrapped.sh
default.nix steam: use buildFHSUserEnvBubblewrap 2020-08-17 08:49:39 +02:00
fhsenv.nix steam: Do $PATH lookup in steam.desktop instead of hardcoding derivation 2020-10-27 16:21:43 +01:00
fonts.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
runtime-wrapped.nix treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
runtime.nix steam-runtime: 0.20200604.0 -> 0.20200720.0 2020-07-28 23:53:23 -05:00
steam.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
steamcmd.nix treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
steamcmd.sh steamcmd: Add needed binaries to PATH 2019-03-29 21:41:14 +01:00