mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #236122 from Kiskae/nvidia/535-optix
linuxPackages.nvidia_x11_beta: fix optix denoiser
This commit is contained in:
commit
e3289fada5
1 changed files with 6 additions and 4 deletions
|
@ -124,12 +124,14 @@ installPhase() {
|
|||
if [ -e nvngx.dll ] && [ -e _nvngx.dll ]; then
|
||||
install -Dm644 -t $i/lib/nvidia/wine/ nvngx.dll _nvngx.dll
|
||||
fi
|
||||
|
||||
if [ -e nvoptix.bin ]; then
|
||||
install -Dm444 -t $i/share/nvidia/ nvoptix.bin
|
||||
fi
|
||||
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
|
||||
# Install the X drivers.
|
||||
mkdir -p $bin/lib/xorg/modules
|
||||
|
|
Loading…
Reference in a new issue