From 724a82b737ad0981666b287d7ba1dce233d27554 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 28 Jul 2015 13:55:47 +0300 Subject: [PATCH] steam: fix invalid symlinking for i686 --- pkgs/games/steam/chrootenv.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/games/steam/chrootenv.nix b/pkgs/games/steam/chrootenv.nix index a7cdfa9e7c1d..f1ec603d3561 100644 --- a/pkgs/games/steam/chrootenv.nix +++ b/pkgs/games/steam/chrootenv.nix @@ -107,12 +107,12 @@ buildFHSUserEnv { pkgs.gst_plugins_base ]; - extraBuildCommandsMulti = '' - cd usr/lib - ln -sf ../lib64/steam steam + extraBuildCommands = '' + [ -d lib64 ] && mv lib64/steam lib # FIXME: maybe we should replace this with proper libcurl-gnutls - ln -s libcurl.so.4 libcurl-gnutls.so.4 + ( cd lib; ln -s libcurl.so.4 libcurl-gnutls.so.4 ) + [ -d lib64 ] && ( cd lib64; ln -s libcurl.so.4 libcurl-gnutls.so.4 ) ''; profile = if withRuntime then ''