terra: remove cudatoolkit

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2026-07-08 19:49:02 -04:00
parent 7e195ef74e
commit e86e43b074

View File

@@ -1,4 +1,5 @@
{
config,
lib,
stdenv,
fetchFromGitHub,
@@ -8,7 +9,7 @@
libxml2,
symlinkJoin,
cudaPackages,
enableCUDA ? false,
enableCUDA ? config.cudaSupport,
libffi,
libpfm,
}:
@@ -37,8 +38,6 @@ let
];
};
cuda = cudaPackages.cudatoolkit;
clangVersion = llvmPackages.clang-unwrapped.version;
in
@@ -60,7 +59,10 @@ stdenv.mkDerivation (finalAttrs: {
libffi
libxml2
]
++ lib.optionals enableCUDA [ cuda ]
++ lib.optionals enableCUDA (with cudaPackages; [
cuda_nvcc
cuda_cudart
])
++ lib.optional (!stdenv.hostPlatform.isDarwin) libpfm;
cmakeFlags =