fixed bug where required cuda packages could only be toggled through config.cudaSupport

Signed-off-by: Robbie Buxton <robbiesbuxton@gmail.com>
This commit is contained in:
Robbie Buxton 2024-03-01 18:21:36 +00:00
parent de87abd74b
commit fc8b6762dd

View File

@ -54,7 +54,7 @@
lapack
]
++ lib.optionals guiSupport [ libX11 ]
++ lib.optionals config.cudaSupport (with cudaPackages; [
++ lib.optionals cudaSupport (with cudaPackages; [
cuda_cudart.dev
cuda_cudart.lib
cuda_cudart.static