From 0da4293c2c601a49e66a3622201f41576697cdbd Mon Sep 17 00:00:00 2001 From: Tanner Doshier Date: Sun, 31 May 2015 12:54:33 -0500 Subject: [PATCH] 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 --- pkgs/games/steam/chrootenv.nix | 1 + 1 file changed, 1 insertion(+) 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