mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Copy all so files over from nVidia blob
This commit is contained in:
parent
83e29974d1
commit
816d971aea
@ -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 New Issue
Block a user