Steam only starts on the first run

I am new to NixOS, but I’ve used linux extensively, sadly not for gaming.

Steam is playing up, I knew from the beginning that it is not the most straight forward process, but I didn’t expect weird unexplainable hickups. It starts fine on the first run, but after quitting, it I can’t get it to open, running it from the CLI does not wield to many information:[20416]: Running Steam on nixos 23.05 64-bit[20416]: STEAM_RUNTIME is enabled automatically[20494]: Steam runtime environment up-to-date![20507]: Warning: An unexpected error occurred while executing "/sbin/ldconfig -XNv", the exit status was 127[20416]: Steam client's requirements are satisfied

ldconfig -XNv

ldconfig: Path `/nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib64' given more than once
(from <builtin>:0 and <builtin>:0)
ldconfig: Can't stat /nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/libx32: No such file or directory
/nix/store/46m4xx889wlhsdj72j38fnlyyvvvvbyb-glibc-2.37-8/lib: (from <builtin>:0) -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> -> ->

I am uncertain about the GLIBC issue. Maybe that is already the issue I am facing, but I dont necessarily think so, as I dont think it is different on first start.

Is there somethign I am missing?


After restarting my computer and starting it from the CLI the first time, it became apparent that some part didn’t close down properly. I’ll update the post once more if I find the reason for it to not quit completely.

1 Like

Same happened to me, sometimes when I open steam it gives that message and some games wont launch, closing it and opening again fixes it.

Do you install steam with programs.steam.enable or environment.systemPackages = [ pkgs.steam ];? The former is how you’re supposed to install steam on NixOS, it solves some issues.

If that’s not it, I’d expect this is a steam bug.

I do use the programs.steam.enable to install steam.