linuxPackages.nvidia_x11: fix build of versions without nvngx.dll

This commit is contained in:
Nick Cao 2022-07-15 10:38:48 +08:00
parent 0436831b1a
commit 686ac5bf4d
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -120,8 +120,9 @@ installPhase() {
fi
# Install libraries needed by Proton to support DLSS
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