steam-chrootenv: use UserEnv
This commit is contained in:
parent
4b3bb7b448
commit
238fe730b9
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user