nongnu: steam-client: Fix rewriting mesa -> nvda with grafted libx11.
This fixes an issue where Steam games would not use the proprietary NVIDIA
driver even when started from steam-nvidia
. On my system, this leads to
drastic performance drops, since games would use the integrated GPU instead of
the more powerful discrete GPU.
Without this patch, I assume mesa-fixed
is not properly replaced by nvda
.
- nongnu/packages/steam-client.scm (
replace-mesa*
): New function.
(steam-nvidia-container
): Use new functionreplace-mesa*
.