lol

steam: don't add zoneinfo manually

We already have this done for FHS environments in general.

+1 -13
+1 -13
pkgs/games/steam/chrootenv.nix
··· 9 9 10 10 let 11 11 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 + [ 22 13 steamPackages.steam-fonts 23 14 # Errors in output without those 24 15 pciutils ··· 30 21 perl 31 22 # Open URLs 32 23 xdg_utils 33 - # Zoneinfo 34 - etc-zoneinfo 35 24 iana-etc 36 25 ] ++ lib.optional withJava jdk 37 26 ++ lib.optional withPrimus primus ··· 103 92 104 93 profile = '' 105 94 export STEAM_RUNTIME=/steamrt 106 - export TZDIR=/etc/zoneinfo 107 95 ''; 108 96 109 97 runScript = writeScript "steam-wrapper.sh" ''