1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
Commit graph

5 commits

Author SHA1 Message Date
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
Gabriel Ebner 6784e7ec75 steam: use jdk8 2020-09-19 15:29:19 +02:00
Daniel Fullmer b3de09bc52
steam: fix typo in LD_LIBRARY_PATH (#97818) 2020-09-11 23:19:31 -04:00
Jan Tojnar 5a1a7d3dcc
steam-run: remove ancient gstreamer dependency
It is insecure and broken.

Follow https://github.com/NixOS/nixpkgs/pull/93398
2020-09-02 02:23:54 +02:00
Atemu b7c09b50ff steam: use buildFHSUserEnvBubblewrap
Fixes #92798
2020-08-17 08:49:39 +02:00
Renamed from pkgs/games/steam/chrootenv.nix (Browse further)