steam: add xrandr binary to env

Games utilizing LWJGL >= 2.4 && < 3.0 need this as the framework parses
display information from the command line output of xrandr[1] on Linux.
There are a number of LWJGL games on Steam currently.

[1]: https://github.com/LWJGL/lwjgl/blob/46f602f0c680a92349b4185f886609200d614990/src/java/org/lwjgl/opengl/XRandR.java#L72
This commit is contained in:
Tanner Doshier
2015-06-19 20:48:26 -05:00
parent a00d5998da
commit 0da4293c2c
+1
View File
@@ -13,6 +13,7 @@ buildFHSUserEnv {
pkgs.python
pkgs.gnome2.zenity
pkgs.xdg_utils
pkgs.xlibs.xrandr
]
++ lib.optional (config.steam.java or false) pkgs.jdk
++ lib.optional (config.steam.primus or false) pkgs.primus