Merge pull request #236122 from Kiskae/nvidia/535-optix

linuxPackages.nvidia_x11_beta: fix optix denoiser
This commit is contained in:
Nick Cao 2023-06-11 05:25:31 -06:00 committed by GitHub
commit e3289fada5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,12 +124,14 @@ installPhase() {
if [ -e nvngx.dll ] && [ -e _nvngx.dll ]; then if [ -e nvngx.dll ] && [ -e _nvngx.dll ]; then
install -Dm644 -t $i/lib/nvidia/wine/ nvngx.dll _nvngx.dll install -Dm644 -t $i/lib/nvidia/wine/ nvngx.dll _nvngx.dll
fi fi
if [ -e nvoptix.bin ]; then
install -Dm444 -t $i/share/nvidia/ nvoptix.bin
fi
done done
# OptiX tries loading `$ORIGIN/nvoptix.bin` first
if [ -e nvoptix.bin ]; then
install -Dm444 -t $out/lib/ nvoptix.bin
fi
if [ -n "$bin" ]; then if [ -n "$bin" ]; then
# Install the X drivers. # Install the X drivers.
mkdir -p $bin/lib/xorg/modules mkdir -p $bin/lib/xorg/modules