Adding the nvidia legacy drivers (I still use a geForce 4 AGP)

svn path=/nixpkgs/trunk/; revision=17284
This commit is contained in:
Lluís Batlle i Rossell
2009-09-19 22:09:08 +00:00
parent 0e79b7a46b
commit 854293fc7b
3 changed files with 52 additions and 0 deletions
@@ -60,7 +60,10 @@ installPhase() {
patchelf --set-rpath $out/lib:$glPath $out/lib/libGL.so.*.*
patchelf --set-rpath $out/lib:$glPath $out/lib/libXvMCNVIDIA.so.*.*
set +e
# Legacy nvidia doesn't have cuda
patchelf --set-rpath $cudaPath $out/lib/libcuda.so.*.*
set -e
patchelf --set-rpath $out/lib $out/lib/xorg/modules/extensions/libglx.so.*.*
for i in nvidia-settings nvidia-xconfig; do