Commit 6cd3e9ce authored by Someone Serge's avatar Someone Serge Committed by Anderson Torres
Browse files

cudaPackages: redist components: per-package license url

parent 6c9c9ef2
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -883,6 +883,14 @@ in mkLicense lset) ({
    free = false;
  };

  nvidiaCudaRedist = {
    shortName = "CUDA EULA";
    fullName = "CUDA Toolkit End User License Agreement (EULA)";
    url = "https://docs.nvidia.com/cuda/eula/index.html#cuda-toolkit-supplement-license-agreement";
    free = false;
    redistributable = true;
  };

  obsidian = {
    fullName = "Obsidian End User Agreement";
    url = "https://obsidian.md/eula";
+3 −1
Original line number Diff line number Diff line
@@ -165,7 +165,9 @@ backendStdenv.mkDerivation {

  meta = {
    inherit description platforms;
    license = lib.licenses.unfree;
    license = lib.licenses.nvidiaCudaRedist // {
      url = "https://developer.download.nvidia.com/compute/cuda/redist/${releaseAttrs.license_path or "${pname}/LICENSE.txt"}";
    };
    maintainers = lib.teams.cuda.members;
    # Force the use of the default, fat output by default (even though `dev` exists, which
    # causes Nix to prefer that output over the others if outputSpecified isn't set).