2014-06-15 15:34:27 +02:00
|
|
|
{ buildFHSChrootEnv, config }:
|
2013-09-13 23:58:59 +02:00
|
|
|
|
|
|
|
buildFHSChrootEnv {
|
|
|
|
name = "steam";
|
2014-04-23 01:03:14 +02:00
|
|
|
|
|
|
|
targetPkgs = pkgs:
|
|
|
|
[ pkgs.steam
|
|
|
|
pkgs.corefonts
|
|
|
|
pkgs.curl
|
|
|
|
pkgs.dbus
|
|
|
|
pkgs.dpkg
|
|
|
|
pkgs.mono
|
|
|
|
pkgs.python
|
|
|
|
pkgs.gnome2.zenity
|
|
|
|
pkgs.xdg_utils
|
2014-06-15 15:34:27 +02:00
|
|
|
]
|
|
|
|
++ (if config.steam.java or false then [ pkgs.jdk ] else [ ])
|
|
|
|
;
|
2014-04-23 01:03:14 +02:00
|
|
|
|
|
|
|
multiPkgs = pkgs:
|
2014-07-10 10:25:19 +02:00
|
|
|
[ pkgs.cairo
|
|
|
|
pkgs.glib
|
|
|
|
pkgs.gtk
|
|
|
|
pkgs.gdk_pixbuf
|
|
|
|
pkgs.pango
|
2014-04-23 01:03:14 +02:00
|
|
|
|
2014-07-10 10:25:19 +02:00
|
|
|
pkgs.freetype
|
|
|
|
pkgs.xlibs.libICE
|
|
|
|
pkgs.xlibs.libSM
|
|
|
|
pkgs.xlibs.libX11
|
|
|
|
pkgs.xlibs.libXau
|
|
|
|
pkgs.xlibs.libxcb
|
|
|
|
pkgs.xlibs.libXcursor
|
|
|
|
pkgs.xlibs.libXdamage
|
|
|
|
pkgs.xlibs.libXdmcp
|
|
|
|
pkgs.xlibs.libXext
|
|
|
|
pkgs.xlibs.libXfixes
|
|
|
|
pkgs.xlibs.libXi
|
|
|
|
pkgs.xlibs.libXinerama
|
|
|
|
pkgs.xlibs.libXrandr
|
|
|
|
pkgs.xlibs.libXrender
|
|
|
|
pkgs.xlibs.libXScrnSaver
|
|
|
|
pkgs.xlibs.libXtst
|
|
|
|
pkgs.xlibs.libXxf86vm
|
2014-04-23 01:03:14 +02:00
|
|
|
|
2014-07-10 10:25:19 +02:00
|
|
|
pkgs.ffmpeg
|
|
|
|
pkgs.libpng12
|
|
|
|
pkgs.mesa
|
|
|
|
pkgs.SDL
|
|
|
|
pkgs.SDL2
|
2014-04-23 01:03:14 +02:00
|
|
|
|
2014-07-10 10:25:19 +02:00
|
|
|
pkgs.libgcrypt
|
|
|
|
pkgs.zlib
|
2014-04-23 01:03:14 +02:00
|
|
|
|
2014-07-10 10:25:19 +02:00
|
|
|
pkgs.alsaLib
|
|
|
|
pkgs.libvorbis
|
|
|
|
pkgs.openal
|
|
|
|
pkgs.pulseaudio
|
2014-04-23 01:03:14 +02:00
|
|
|
|
2014-07-10 10:25:19 +02:00
|
|
|
pkgs.flashplayer
|
|
|
|
];
|
2014-04-23 01:03:14 +02:00
|
|
|
|
|
|
|
extraBuildCommandsMulti = ''
|
|
|
|
cd usr/lib
|
|
|
|
ln -sf ../lib64/steam steam
|
|
|
|
'';
|
|
|
|
|
2013-09-13 23:58:59 +02:00
|
|
|
profile = ''
|
2014-04-23 01:03:14 +02:00
|
|
|
export LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/lib:/lib32:/lib64
|
|
|
|
export PATH=$PATH:/usr/bin:/usr/sbin
|
2013-09-13 23:58:59 +02:00
|
|
|
'';
|
|
|
|
}
|