3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #3499 from Fuuzetsu/nvidia

Copy all so files over from nVidia blob
This commit is contained in:
John Wiegley 2014-08-09 01:02:07 -05:00
commit f4aaeef37c

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