3
0
Fork 0
forked from mirrors/nixpkgs

Revert "Copy all so files over from nVidia blob"

This reverts commit 816d971aea.
See discussion on https://github.com/Fuuzetsu/nixpkgs/commit/816d971ae
This commit is contained in:
Vladimír Čunát 2014-08-20 02:22:29 +02:00
parent 229eb441a3
commit 2015aecd44

View file

@ -33,9 +33,11 @@ installPhase() {
# Install libGL and friends.
mkdir -p $out/lib/vendors
for g in *.so.$versionNumber;
for f in \
libcuda libGL libnvcuvid libnvidia-cfg libnvidia-compiler \
libnvidia-encode libnvidia-glcore libnvidia-ml libnvidia-opencl \
libnvidia-tls libOpenCL libnvidia-tls libvdpau_nvidia libEGL libGLESv2
do
f=$(basename $g .so.$versionNumber)
cp -prd $f.* $out/lib/
ln -snf $f.so.$versionNumber $out/lib/$f.so
ln -snf $f.so.$versionNumber $out/lib/$f.so.1