1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

steam: add glibc215 to the wrapper.

This commit is contained in:
Carles Pagès 2012-12-10 23:31:57 +01:00 committed by Evgeny Egorochkin
parent 12a0d83855
commit ee6129350e

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, dpkg, makeWrapper, xz, libX11, gcc
{ stdenv, fetchurl, dpkg, makeWrapper, xz, libX11, gcc, glibc215
,patchelf }:
assert stdenv.system == "i686-linux";
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
sed -i '/jockey-common/d' $out/bin/steam
wrapProgram "$out/bin/steam" \
--prefix PATH ":" "${xz}/bin" \
--prefix LD_LIBRARY_PATH : ${libX11}/lib:${gcc.gcc}/lib
--prefix LD_LIBRARY_PATH : ${libX11}/lib:${gcc.gcc}/lib:${glibc215}/lib
mkdir -p $out/patches
cat > $out/patches/post-install.sh << EOF