forked from mirrors/nixpkgs
Merge pull request #3499 from Fuuzetsu/nvidia
Copy all so files over from nVidia blob
This commit is contained in:
commit
f4aaeef37c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue