From 160aaf5dd3a74d708e8a1478e98835c38f7ca8cc Mon Sep 17 00:00:00 2001 From: Torsten Schmits Date: Mon, 27 Jun 2022 18:31:49 +0200 Subject: [PATCH] nvidia-driver: Install windows libraries needed by Proton to support DLSS See https://github.com/NixOS/nixpkgs/issues/177533 --- pkgs/os-specific/linux/nvidia-x11/builder.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/os-specific/linux/nvidia-x11/builder.sh b/pkgs/os-specific/linux/nvidia-x11/builder.sh index da41837cfc2e..a53e57231650 100755 --- a/pkgs/os-specific/linux/nvidia-x11/builder.sh +++ b/pkgs/os-specific/linux/nvidia-x11/builder.sh @@ -119,6 +119,10 @@ installPhase() { fi fi + # Install libraries needed by Proton to support DLSS + install -Dm644 nvngx.dll $i/lib/nvidia/wine/ + install -Dm644 _nvngx.dll $i/lib/nvidia/wine/ + done if [ -n "$bin" ]; then