From 238fe730b94ee163adfd5133870f30e34e1fc5e6 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Thu, 5 Feb 2015 18:16:02 +0300 Subject: [PATCH] steam-chrootenv: use UserEnv --- pkgs/games/steam/chrootenv.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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"; }