From fc8b6762ddcdce20ee918862dc0d3a12dee8ba03 Mon Sep 17 00:00:00 2001 From: Robbie Buxton Date: Fri, 1 Mar 2024 18:21:36 +0000 Subject: [PATCH] fixed bug where required cuda packages could only be toggled through config.cudaSupport Signed-off-by: Robbie Buxton --- pkgs/development/libraries/dlib/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/dlib/default.nix b/pkgs/development/libraries/dlib/default.nix index 50709cae8c0b..e433ec46a302 100644 --- a/pkgs/development/libraries/dlib/default.nix +++ b/pkgs/development/libraries/dlib/default.nix @@ -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