Merge pull request #64315 from chris-martin/steam-run

docs: fix steam-run expression
This commit is contained in:
davidak 2021-07-01 19:38:50 +02:00 committed by GitHub
commit 9e2a8a2f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,16 +56,7 @@ Use `programs.steam.enable = true;` if you want to add steam to systemPackages a
## steam-run {#sec-steam-run}
The FHS-compatible chroot used for steam can also be used to run other linux games that expect a FHS environment. To do it, add
```nix
pkgs.steam.override ({
nativeOnly = true;
newStdcpp = true;
}).run
```
to your configuration, rebuild, and run the game with
The FHS-compatible chroot used for Steam can also be used to run other Linux games that expect a FHS environment. To use it, install the `steam-run-native` package and run the game with
```
steam-run ./foo