Unverified Commit 19cfbce3 authored by Elliot Berman's avatar Elliot Berman
Browse files

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.
parent c65f11d4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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`: