linuxPackages.nvidia_x11: fix build of versions without nvngx.dll
This commit is contained in:
parent
0436831b1a
commit
686ac5bf4d
1 changed files with 3 additions and 2 deletions
|
@ -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