summary refs log tree commit diff
path: root/pkgs/development/libraries/opencv/4.x.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/opencv/4.x.nix')
-rw-r--r--pkgs/development/libraries/opencv/4.x.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix
index 3f120e2558f..c82f0a0065b 100644
--- a/pkgs/development/libraries/opencv/4.x.nix
+++ b/pkgs/development/libraries/opencv/4.x.nix
@@ -37,7 +37,7 @@
 , blas
 , enableContrib ? true
 
-, enableCuda ? (config.cudaSupport or false) && stdenv.hostPlatform.isx86_64
+, enableCuda ? config.cudaSupport && stdenv.hostPlatform.isx86_64
 , enableCublas ? enableCuda
 , enableCudnn ? false # NOTE: CUDNN has a large impact on closure size so we disable it by default
 , enableCufft ? enableCuda