sunshine: fix to detect CUDA libraries (#392458)

In nixpkgs#305891 it's reported that Sunshine no longer picks up CUDA
libraries necessary to encode via nvenc, which makes encoding much
slower. This fix is take from a comment that a maintainer recommended
someone upstream:
https://github.com/NixOS/nixpkgs/issues/305891#issuecomment-2448635163
This commit is contained in:
Zach Mitchell
2025-03-27 21:57:24 -04:00
committed by GitHub
parent b25d37292b
commit 92a149cf0b
+2
View File
@@ -94,6 +94,8 @@ stdenv'.mkDerivation rec {
]
++ lib.optionals cudaSupport [
autoAddDriverRunpath
cudaPackages.cuda_nvcc
(lib.getDev cudaPackages.cuda_cudart)
];
buildInputs =