diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index 404eaf4ce9f2..8220e24147ed 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -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"; }