diff --git a/doc/package-notes.xml b/doc/package-notes.xml index de148ec5739..0ba7ec4c44d 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. @@ -457,30 +457,6 @@ it. Place the resulting package.nix file into to see what is causing steam to fail. - - Game X fails to start - Games may fail to start because they lack - dependencies (this should be added to the script, for now), - 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). - Using the LD_LIBRARY_PATH from the nix/store steam script, - with some additions, launch the game binary: - LD_LIBRARY_PATH=~/.steam/bin32:$LD_LIBRARY_PATH:/nix/store/pfsa... blabla ...curl-7.29.0/lib:. ./Osmos.bin3 - (if you could not patchelf the game, call ld.so directly - with the binary as param). With this technique, I can play many games - directly from steam. Others, like Team Fortress, cannot be patched - so I only managed to run them from the cmd line. - - - - - - Using the FOSS Radeon drivers @@ -501,14 +477,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 +497,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 + + +
+