Make sublime work on 32bit linux.

This commit is contained in:
Rob Vermaas 2012-11-11 13:23:15 +01:00
parent aeb8d4c406
commit dca0643b29
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
echo ${libPath}
patchelf \
--interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath ${libPath}:${stdenv.gcc.gcc}/lib64 \
--set-rpath ${libPath}:${stdenv.gcc.gcc}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \
$out/sublime/sublime_text
'';