3
0
Fork 0
forked from mirrors/nixpkgs

Copy all so files over from nVidia blob

This commit is contained in:
Mateusz Kowalczyk 2014-08-09 01:42:08 +02:00
parent 83e29974d1
commit 816d971aea

View file

@ -33,11 +33,9 @@ installPhase() {
# Install libGL and friends.
mkdir -p $out/lib/vendors
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
for g in *.so.$versionNumber;
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