* nongnu/packages/nvidia.scm (%nvidia-environment-variable-regexps): New
variable.
* nongnu/packages/game-client.scm (steam-nvidia-container)
(heroic-nvidia-container): Use it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/game-client.scm (steam-nvidia-ld.so.conf)
(steam-nvidia-ld.so.cache): New variables.
(steam-nvidia-container,heroic-nvidia-container): Use them.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/game-client.scm (steam-nvidia-container-libs): New variable.
(steam-nvidia-container,heroic-nvidia-container): Use it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
* nongnu/packages/game-client.scm (steam-container-libs): New variable.
(steam-ld.so.conf,steam-container,heroic-container): Use it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Followup to 5d5d496 to do the same for heroic.
* nongnu/packages/game-client.scm (heroic-container)[link-files]: Link all of
'share' from heroic-client.
Previously, only the .desktop files from steam-client were shared with
steam-container, and thus only those were available directly when installing
the steam package. This would miss things like the icons (needed in some
cases for tray support, for example, in waybar). Update to share all of
'share' to provide a more complete package for the user.
* nongnu/packages/game-client.scm (steam-container)[link-files]: Link all of
'share' from steam-client.
* nongnu/packages/game-client.scm (heroic-client, heroic-extra-client-libs,
heroic-container, heroic-nvidia-container, heroic, heroic-nvidia): New
variables.
* nonguix/multi-arch-container.scm (make-container-wrapper): Preserve "^SSL_"
for heroic to use curl.
(make-internal-script): Add symlink for "/usr/share/glib-2.0".