Merge pull request #181552 from NickCao/nvidia
linuxPackages.nvidia_x11: fix build of versions without nvngx.dll
This commit is contained in:
commit
299528bcc2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue