Skip to content

Commit

Permalink
steam: fix crashing by adding libnm to FHS
Browse files Browse the repository at this point in the history
Following issue NixOS#238101 latest Steam and Proton (8.0+) will frequently
crash with a generic "GLib-GObject-CRITICAL". This error message ended
up being been a red-herring, and the actual issue lies within the
dependency on libnm inside Steam.

Fix for now is to use our own system libnm directly for the FHS.

Solution originally found in this Arch Linux issue:
https://bugs.archlinux.org/task/79006
  • Loading branch information
soupglasses committed Jul 9, 2023
1 parent 1ffc00a commit bf9cc28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/games/steam/fhsenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ in buildFHSEnv rec {
libGL
libva
pipewire.lib
(lib.getLib networkmanager) # for libnm.so

# steamwebhelper
harfbuzz
Expand Down

0 comments on commit bf9cc28

Please sign in to comment.