From f42cece8f52e8624994bcb68df01308594dbc039 Mon Sep 17 00:00:00 2001 From: Carles Pagès Date: Wed, 16 Jan 2013 23:53:45 +0100 Subject: 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. --- pkgs/games/steam/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'pkgs/games/steam/default.nix') diff --git a/pkgs/games/steam/default.nix b/pkgs/games/steam/default.nix index f00dd29a234f..48466ef1663b 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 -- cgit 1.4.1