steam: add mesa to library path.

Mesa is needed for Superbrothers: S&S EP, which links to libGLU.
This commit is contained in:
Carles Pagès 2012-12-27 12:57:48 +01:00 committed by Evgeny Egorochkin
parent 10f722dc04
commit 094c0662e8

View file

@ -4,7 +4,7 @@
, dbus, libpng12, libXfixes, cups, libgcrypt, openal, pulseaudio
, SDL # World of Goo
, libvorbis # Osmos
, curl # Superbrothers: S&S EP
, curl, mesa # Superbrothers: S&S EP
, patchelf }:
assert stdenv.system == "i686-linux";
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
STEAMBIN64LINK="\$STEAMCONFIG/bin64"
STEAMROOTLINK="\$STEAMCONFIG/root"
STEAMSTARTING="\$STEAMCONFIG/starting"
export LD_LIBRARY_PATH="\$STEAMBINDIR:\$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="\$STEAMBINDIR:\$LD_LIBRARY_PATH:${mesa}/lib"
export SDL_VIDEO_X11_DGAMOUSE=0
cd "\$STEAMROOT"
LDSO="\$STEAMBINDIR\ld.so"