From 21449c23cbbaadfcc0066d5dc320b4bd3f06bc14 Mon Sep 17 00:00:00 2001 From: Marti Serra Date: Sun, 11 Dec 2016 12:47:48 +0100 Subject: steam: added java and steam-run to documentation, removed patchelf info --- doc/package-notes.xml | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'doc/package-notes.xml') diff --git a/doc/package-notes.xml b/doc/package-notes.xml index de148ec5739f..0a4c746c3715 100644 --- a/doc/package-notes.xml +++ b/doc/package-notes.xml @@ -418,7 +418,7 @@ it. Place the resulting package.nix file into chroot environment, as documented here. This allows us to have binaries in the expected paths without disrupting the system, - and to avoid patching them. + and to avoid patching them to work in a non FHS environment. @@ -464,7 +464,6 @@ it. Place the resulting package.nix file into or because they cannot be patched.The steps to launch a game directly are: - Patch the script/binary if you can. Add a file named steam_appid.txt in the binary folder, with the appid as contents (it can be found in the stdout from steam). @@ -501,14 +500,18 @@ libGL error: failed to load driver: swrast steam.sh: line 713: 7842 Segmentation fault (core dumped) have a look at this pull request. + - Known issues + Java - No java in steam chrootenv. Games affected: Towns: + There is no java in steam chrootenv by default. If you get a message like /home/foo/.local/share/Steam/SteamApps/common/towns/towns.sh: line 1: java: command not found + You need to add + steam.override { withJava = true; }; + to your configuration. @@ -517,6 +520,23 @@ libGL error: failed to load driver: swrast +
+ +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 +pkgs.(steam.override { + nativeOnly = true; + newStdcpp = true; + }).run +to your configuration, rebuild, and run the game with +steam-run ./foo + + +
+ -- cgit 1.4.1