diff --git a/pkgs/top-level/cuda-packages.nix b/pkgs/top-level/cuda-packages.nix index 464912d7092a..a033057e3303 100644 --- a/pkgs/top-level/cuda-packages.nix +++ b/pkgs/top-level/cuda-packages.nix @@ -173,7 +173,11 @@ let ( final: _: { - cuda_compat = runCommand "cuda_compat" { meta.platforms = [ ]; } "false"; # Prevent missing attribute errors + # Prevent missing attribute errors + # NOTE(@connorbaker): CUDA 12.3 does not have a cuda_compat package; indeed, none of the release supports + # Jetson devices. To avoid errors in the case that cuda_compat is not defined, we have a dummy package which + # is always defined, but does nothing, will not build successfully, and has no platforms. + cuda_compat = runCommand "cuda_compat" { meta.platforms = [ ]; } "false"; } // lib.packagesFromDirectoryRecursive { inherit (final) callPackage;