summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/libgpuarray
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/libgpuarray')
-rw-r--r--pkgs/development/python-modules/libgpuarray/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/libgpuarray/default.nix b/pkgs/development/python-modules/libgpuarray/default.nix
index 6b141af3c96d..6e5bb05913a2 100644
--- a/pkgs/development/python-modules/libgpuarray/default.nix
+++ b/pkgs/development/python-modules/libgpuarray/default.nix
@@ -9,7 +9,9 @@
, six
, nose
, mako
-, cudaSupport ? false, cudaPackages
+, config
+, cudaSupport ? config.cudaSupport or false
+, cudaPackages ? { }
, openclSupport ? true, ocl-icd, clblas
}: