Merge pull request #181552 from NickCao/nvidia

linuxPackages.nvidia_x11: fix build of versions without nvngx.dll
This commit is contained in:
Bernardo Meurer 2022-07-14 22:48:48 -07:00 committed by GitHub
commit 299528bcc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,8 +120,9 @@ installPhase() {
fi
# Install libraries needed by Proton to support DLSS
install -Dm644 -t $i/lib/nvidia/wine/ nvngx.dll _nvngx.dll
if [ -e nvngx.dll ] && [ -e _nvngx.dll ]; then
install -Dm644 -t $i/lib/nvidia/wine/ nvngx.dll _nvngx.dll
fi
done
if [ -n "$bin" ]; then