···315315316316- The `cudaPackages` package scope has been updated to `cudaPackages_12`.
317317318318+- The deprecated `cudaPackages.cudatoolkit` has been replaced with a
319319+ symlink-based wrapper for the splayed redistributable CUDA packages. The
320320+ wrapper only includes tools and libraries necessary to build common packages
321321+ like e.g. tensorflow. The original runfile-based `cudatoolkit` is still
322322+ available as `cudatoolkit-legacy-runfile`.
323323+318324- The `halloy` package was updated past 2024.5 which introduced a breaking change by switching the config format from YAML to TOML. See https://github.com/squidowl/halloy/releases/tag/2024.5 for details.
319325320326- Ada packages (libraries and tools) have been moved into the `gnatPackages` scope. `gnatPackages` uses the default GNAT compiler, `gnat12Packages` and `gnat13Packages` use the respective matching compiler version.
+2-2
pkgs/applications/science/math/caffe/default.nix
···2222}:
23232424let
2525- inherit (cudaPackages) cudatoolkit nccl;
2525+ inherit (cudaPackages) backendStdenv cudatoolkit nccl;
2626 # The default for cudatoolkit 10.1 is CUDNN 8.0.5, the last version to support CUDA 10.1.
2727 # However, this caffe does not build with CUDNN 8.x, so we use CUDNN 7.6.5 instead.
2828 # Earlier versions of cudatoolkit use pre-8.x CUDNN, so we use the default.
···5959 "-DBLAS=open"
6060 ] ++ (if cudaSupport then [
6161 "-DCUDA_ARCH_NAME=All"
6262- "-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/cc"
6262+ "-DCUDA_HOST_COMPILER=${backendStdenv.cc}/bin/cc"
6363 ] else [ "-DCPU_ONLY=ON" ])
6464 ++ ["-DUSE_NCCL=${toggle ncclSupport}"]
6565 ++ ["-DUSE_LEVELDB=${toggle leveldbSupport}"]
···411411 };
412412413413 meta = with lib; {
414414- description = "A compiler for NVIDIA GPUs, math libraries, and tools";
414414+ description = "The deprecated runfile-based CUDAToolkit installation (a compiler for NVIDIA GPUs, math libraries, and tools)";
415415 homepage = "https://developer.nvidia.com/cuda-toolkit";
416416 platforms = [ "x86_64-linux" ];
417417 license = licenses.nvidiaCuda;