about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorCarles Pagès <page@cubata.homelinux.net>2013-01-16 23:53:45 +0100
committerEvgeny Egorochkin <phreedom@yandex.ru>2013-08-10 06:08:17 +0300
commitf42cece8f52e8624994bcb68df01308594dbc039 (patch)
tree84b8a2a1a0d76fb17d7c924f863332e91331d84c /pkgs/games
parent094c0662e879157656b6cfb73268e1041d791af7 (diff)
steam: update to 1.0.0.21.
I also updated the patches for the bootsrapper script and fixed a typo, but
didn't test anything.
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/steam/default.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/games/steam/default.nix b/pkgs/games/steam/default.nix
index f00dd29a234f9..48466ef1663b1 100644
--- a/pkgs/games/steam/default.nix
+++ b/pkgs/games/steam/default.nix
@@ -9,14 +9,14 @@
 
 assert stdenv.system == "i686-linux";
 
-let version = "1.0.0.18"; in
+let version = "1.0.0.21"; in
 
 stdenv.mkDerivation rec {
   name = "steam-${version}";
 
   src = fetchurl {
     url = "http://media.steampowered.com/client/installer/steam.deb";
-    sha256 = "1gzfyh3wfdb4h7cxibx61c31l8pjz5zcp5d9d5w9jyja463lv49c";
+    sha256 = "03p3mvrdkkq9x7ssi9wl5zzyi4xvw5zvap7w72rpjsz8145l3vsj";
   };
 
   buildInputs = [ dpkg makeWrapper ];
@@ -30,8 +30,6 @@ stdenv.mkDerivation rec {
     rmdir $out/usr
     substituteInPlace "$out/bin/steam" --replace "/bin/bash" "/bin/sh"
     substituteInPlace "$out/bin/steam" --replace "/usr/" "$out/"
-    substituteInPlace "$out/bin/steam" --replace "\`basename \$0\`" "steam"
-    sed -i '/jockey-common/d' $out/bin/steam
 
     mv $out/bin/steam $out/bin/.steam-wrapped
     cat > $out/bin/steam << EOF
@@ -52,7 +50,7 @@ stdenv.mkDerivation rec {
       export LD_LIBRARY_PATH="\$STEAMBINDIR:\$LD_LIBRARY_PATH:${mesa}/lib"
       export SDL_VIDEO_X11_DGAMOUSE=0
       cd "\$STEAMROOT"
-      LDSO="\$STEAMBINDIR\ld.so"
+      LDSO="\$STEAMBINDIR/ld.so"
       cp ${glibc215}/lib/ld-linux.so.2 "\$LDSO"
       chmod u+w "\$LDSO"
       echo \$\$ > "\$PIDFILE" # pid of the shell will become pid of steam