diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-02-05 21:57:54 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2015-02-05 21:57:54 +0300 |
commit | 5ccc4839cbb98a8462cd6972c2888f329c7947c4 (patch) | |
tree | b43d66f5f8afe6eccfe88b3050673b912f57b332 /pkgs/games | |
parent | d2bfb5ceb08bed179a996969119a4c72b8eb147a (diff) | |
parent | 3500978b8fa4410fa98b5213f21ab9912cc7b880 (diff) | |
download | nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.tar nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.tar.gz nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.tar.bz2 nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.tar.lz nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.tar.xz nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.tar.zst nixlib-5ccc4839cbb98a8462cd6972c2888f329c7947c4.zip |
Merge pull request #6177 from abbradar/fhs-userenv
add non-root temporary FHS chrootenv
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/steam/chrootenv.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index 404eaf4ce9f2..7ebd07752920 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -1,10 +1,10 @@ -{ buildFHSChrootEnv, config }: +{ buildFHSUserEnv, config }: -buildFHSChrootEnv { +buildFHSUserEnv { name = "steam"; targetPkgs = pkgs: - [ pkgs.steam + [ pkgs.steamOriginal pkgs.corefonts pkgs.curl pkgs.dbus @@ -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"; } |