Unverified Commit 92a149cf authored by Zach Mitchell's avatar Zach Mitchell Committed by GitHub
Browse files

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
parent b25d3729
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -94,6 +94,8 @@ stdenv'.mkDerivation rec {
    ]
    ++ lib.optionals cudaSupport [
      autoAddDriverRunpath
      cudaPackages.cuda_nvcc
      (lib.getDev cudaPackages.cuda_cudart)
    ];

  buildInputs =