Finally I fix, not blindly, the nvidia-cg-toolkit expression for i686-linux

svn path=/nixpkgs/trunk/; revision=32554
This commit is contained in:
Lluís Batlle i Rossell 2012-02-24 23:40:58 +00:00
parent 6f7cb59e04
commit bfd787a69a

View File

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
installPhase = ''
for b in cgc cgfxcat cginfo
do
patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-*.so.? "bin/$b"
patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux*.so.? "bin/$b"
done
# FIXME: cgfxcat and cginfo need more patchelf
ensureDir "$out/bin/"