Describe the bug
Multiple errors when using SteamLinuxRuntime_soldier/run-in-soldier
This prevent the latest Proton (5.13) from running
To Reproduce
The following commands are to run in a steam-run shell: steam-run /bin/bash
- G_MESSAGES_DEBUG=all /mnt/hdd/Steam/steamapps/common/SteamLinuxRuntime_soldier/run-in-soldier -- echo coucou
Error: x86_64-linux-gnu-capsule-capture-libs: code 2: open "/etc/ld.so.cache": No such file or directory
- ldconfig -C /etc/ld.so.cache
- G_MESSAGES_DEBUG=all /mnt/hdd/Steam/steamapps/common/SteamLinuxRuntime_soldier/run-in-soldier -- echo coucou
Error: /run/pressure-vessel/pv-from-host/bin/pressure-vessel-adverb: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
- G_MESSAGES_DEBUG=all /mnt/hdd/Steam/steamapps/common/SteamLinuxRuntime_soldier/run-in-soldier --filesystem=/nix -- echo coucou
It's finally printing
Expected behavior
Should run natively from within steam and without manual tweaks
Additional context
There is two problems to solve:
- How to generate the
/etc/ld.so.cache file
- How to permanently add the
--filesystem=/nix option to steam bwrap
Notify maintainers
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
- system: `"x86_64-linux"`
- host os: `Linux 5.4.69, NixOS, 21.03.git.0da2a1a113e (Okapi)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.7`
- channels(root): `"nixos-21.03pre246543.24c9b05ac53"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
- steam
# a list of nixos modules affected by the problem
module:
Describe the bug
Multiple errors when using SteamLinuxRuntime_soldier/run-in-soldier
This prevent the latest Proton (5.13) from running
To Reproduce
The following commands are to run in a steam-run shell:
steam-run /bin/bashError:
x86_64-linux-gnu-capsule-capture-libs: code 2: open "/etc/ld.so.cache": No such file or directoryError:
/run/pressure-vessel/pv-from-host/bin/pressure-vessel-adverb: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directoryIt's finally printing
Expected behavior
Should run natively from within steam and without manual tweaks
Additional context
There is two problems to solve:
/etc/ld.so.cachefile--filesystem=/nixoption to steam bwrapNotify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"and paste the result.Maintainer information: