From bf9e6fe9b852ea9185b9d495dc974491d4fbf355 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Fri, 31 Mar 2023 16:08:14 +0300 Subject: tree-wide: rm `cudaSupport ? false` formal parameters 'cudaSupport ? false' -> 'cudaSupport ? config.cudaSupport or false' to respect global defaults Packages expressions that take `cudaSupport ? false` are likely to ignore `config.cudaSupport`. Instead, we want them to make `cudaSupport` a required argument, or to explicitly refer to `config` --- pkgs/development/python-modules/libgpuarray/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/development/python-modules/libgpuarray') 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 }: -- cgit v1.2.3