sunshine: use cuda compatible libstdc++ when building with cuda support

This commit is contained in:
Morgan Helton 2024-03-06 19:35:45 -06:00
parent 5bfab70cdf
commit 56aeedf456

View File

@ -43,7 +43,10 @@
, cudaSupport ? config.cudaSupport
, cudaPackages ? {}
}:
stdenv.mkDerivation rec {
let
stdenv' = if cudaSupport then cudaPackages.backendStdenv else stdenv;
in
stdenv'.mkDerivation rec {
pname = "sunshine";
version = "0.21.0";