git.iko.soy/typeable/nixpkgs
on master help sign in
steam: don't add zoneinfo manually

We already have this done for FHS environments in general.

commit8332b7aef91fc390c2a82deacc857044f29a6935 authorNikolay Amiantov <ab@fmap.me> dateWed 14 Feb 2018, 14:01 (9 years ago) parent9db2a3e
1 file changed+1−13
pkgs/games/steam/chrootenv.nix+1−13
pkgs/games/steam/chrootenv.nix+1−13
@@ -9,16 +9,7 @@
99
1010let
1111 commonTargetPkgs = pkgs: with pkgs;
12− let
13− tzdir = "${pkgs.tzdata}/share/zoneinfo";
14− # I'm not sure if this is the best way to add things like this
15− # to an FHSUserEnv
16− etc-zoneinfo = pkgs.runCommand "zoneinfo" {} ''
17− mkdir -p $out/etc
18− ln -s ${tzdir} $out/etc/zoneinfo
19− ln -s ${tzdir}/UTC $out/etc/localtime
20− '';
21− in [
12+ [
2213 steamPackages.steam-fonts
2314 # Errors in output without those
2415 pciutils
@@ -30,8 +21,6 @@ let
3021 perl
3122 # Open URLs
3223 xdg_utils
33− # Zoneinfo
34− etc-zoneinfo
3524 iana-etc
3625 ] ++ lib.optional withJava jdk
3726 ++ lib.optional withPrimus primus
@@ -103,7 +92,6 @@ in buildFHSUserEnv rec {
10392
10493 profile = ''
10594 export STEAM_RUNTIME=/steamrt
106− export TZDIR=/etc/zoneinfo
10795 '';
10896
10997 runScript = writeScript "steam-wrapper.sh" ''