steam-chrootenv: use UserEnv

This commit is contained in:
Nikolay Amiantov 2015-02-05 18:16:02 +03:00
parent 4b3bb7b448
commit 238fe730b9

View File

@ -1,6 +1,6 @@
{ buildFHSChrootEnv, config }:
{ buildFHSUserEnv, config }:
buildFHSChrootEnv {
buildFHSUserEnv {
name = "steam";
targetPkgs = pkgs:
@ -69,4 +69,6 @@ buildFHSChrootEnv {
export LD_LIBRARY_PATH=/run/opengl-driver/lib:/run/opengl-driver-32/lib:/lib:/lib32:/lib64
export PATH=$PATH:/usr/bin:/usr/sbin
'';
runScript = "exec steam";
}