summary refs log tree commit diff
path: root/pkgs/games/steam/chrootenv.nix
diff options
context:
space:
mode:
authorTanner Doshier <doshitan@gmail.com>2015-05-31 12:54:33 -0500
committerTanner Doshier <doshitan@gmail.com>2015-06-19 20:48:26 -0500
commit0da4293c2c601a49e66a3622201f41576697cdbd (patch)
tree6736e145a2af44287840e06e5a235a532f46f5a5 /pkgs/games/steam/chrootenv.nix
parenta00d5998dad4aa2c86fb2caeccebe0fc248c391d (diff)
downloadnixlib-0da4293c2c601a49e66a3622201f41576697cdbd.tar
nixlib-0da4293c2c601a49e66a3622201f41576697cdbd.tar.gz
nixlib-0da4293c2c601a49e66a3622201f41576697cdbd.tar.bz2
nixlib-0da4293c2c601a49e66a3622201f41576697cdbd.tar.lz
nixlib-0da4293c2c601a49e66a3622201f41576697cdbd.tar.xz
nixlib-0da4293c2c601a49e66a3622201f41576697cdbd.tar.zst
nixlib-0da4293c2c601a49e66a3622201f41576697cdbd.zip
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
Diffstat (limited to 'pkgs/games/steam/chrootenv.nix')
-rw-r--r--pkgs/games/steam/chrootenv.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix
index 1876e81dc315..96f409faef87 100644
--- a/pkgs/games/steam/chrootenv.nix
+++ b/pkgs/games/steam/chrootenv.nix
@@ -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