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:
@@ -94,6 +94,8 @@ stdenv'.mkDerivation rec {
|
||||
]
|
||||
++ lib.optionals cudaSupport [
|
||||
autoAddDriverRunpath
|
||||
cudaPackages.cuda_nvcc
|
||||
(lib.getDev cudaPackages.cuda_cudart)
|
||||
];
|
||||
|
||||
buildInputs =
|
||||
|
||||
Reference in New Issue
Block a user