cuda-modules: cudatoolkit: Add cuda_crt to symlinkJoin

cuda_crt was previously bundled in cuda_cudart but has moved into its
own redistributable starting with CUDA 13. Add it into the cudatoolkit
so packages depending on the symlinkJoin can still build.
This commit is contained in:
Elliot Berman
2025-11-12 09:45:00 -08:00
parent c65f11d4ca
commit 19cfbce3d5
@@ -2,8 +2,10 @@
lib,
symlinkJoin,
backendStdenv,
cudaAtLeast,
cudaMajorMinorVersion,
cuda_cccl ? null,
cuda_crt ? null,
cuda_cudart ? null,
cuda_cuobjdump ? null,
cuda_cupti ? null,
@@ -53,6 +55,9 @@ let
libcusolver
libcusparse
libnpp
]
++ lib.optionals (cudaAtLeast "13") [
cuda_crt
];
# This assumes we put `cudatoolkit` in `buildInputs` instead of `nativeBuildInputs`: