Merge pull request #292629 from RobbieBuxton/dlib-cuda-fix

fixed bug where required cuda packages could only be toggled through …

authored by Guillaume Girol and committed by GitHub 2aa2e01b 06a42492

+1 -1
+1 -1
pkgs/development/libraries/dlib/default.nix
··· 54 lapack 55 ] 56 ++ lib.optionals guiSupport [ libX11 ] 57 - ++ lib.optionals config.cudaSupport (with cudaPackages; [ 58 cuda_cudart.dev 59 cuda_cudart.lib 60 cuda_cudart.static
··· 54 lapack 55 ] 56 ++ lib.optionals guiSupport [ libX11 ] 57 + ++ lib.optionals cudaSupport (with cudaPackages; [ 58 cuda_cudart.dev 59 cuda_cudart.lib 60 cuda_cudart.static