From adce32e028ecedb3fda532ced186510ed5e14a8e Mon Sep 17 00:00:00 2001 From: Alex James Date: Mon, 18 Dec 2023 19:41:32 -0600 Subject: [PATCH] pcl: rename withCuda to cudaSupport --- pkgs/development/libraries/pcl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/pcl/default.nix b/pkgs/development/libraries/pcl/default.nix index 31198124faac..624ca4aa6672 100644 --- a/pkgs/development/libraries/pcl/default.nix +++ b/pkgs/development/libraries/pcl/default.nix @@ -19,7 +19,7 @@ , AGL , OpenGL , config -, withCuda ? config.cudaSupport, cudaPackages +, cudaSupport ? config.cudaSupport, cudaPackages }: stdenv.mkDerivation rec { @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { cmake wrapQtAppsHook ] - ++ lib.optionals withCuda [ cudaPackages.cuda_nvcc ]; + ++ lib.optionals cudaSupport [ cudaPackages.cuda_nvcc ]; buildInputs = [ eigen @@ -66,7 +66,7 @@ stdenv.mkDerivation rec { cmakeFlags = lib.optionals stdenv.isDarwin [ "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks" - ] ++ lib.optionals withCuda [ "-DWITH_CUDA=true" ]; + ] ++ lib.optionals cudaSupport [ "-DWITH_CUDA=true" ]; meta = { homepage = "https://pointclouds.org/";