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:
parent
229eb441a3
commit
2015aecd44
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue