cudaPackages: redist: EULA notice in the description

...to be displayed on search.nixos.org &c; this is the same notice as
included by conda-forge per agreement with nvidia; cf. comments in
https://github.com/NixOS/nixpkgs/pull/76233

authored by

Someone Serge and committed by
Anderson Torres
4e4bbb01 dd8e4b0a

+4 -3
+4 -3
pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix
··· 39 inherit (lib.meta) getExe; 40 inherit (lib.strings) optionalString; 41 in 42 - backendStdenv.mkDerivation { 43 # NOTE: Even though there's no actual buildPhase going on here, the derivations of the 44 # redistributables are sensitive to the compiler flags provided to stdenv. The patchelf package 45 # is sensitive to the compiler flags provided to stdenv, and we depend on it. As such, we are ··· 164 outputSpecified = true; 165 166 meta = { 167 - inherit description platforms; 168 license = lib.licenses.nvidiaCudaRedist // { 169 url = "https://developer.download.nvidia.com/compute/cuda/redist/${releaseAttrs.license_path or "${pname}/LICENSE.txt"}"; 170 }; ··· 174 # causes Nix to prefer that output over the others if outputSpecified isn't set). 175 outputsToInstall = [ "out" ]; 176 }; 177 - }
··· 39 inherit (lib.meta) getExe; 40 inherit (lib.strings) optionalString; 41 in 42 + backendStdenv.mkDerivation (finalAttrs: { 43 # NOTE: Even though there's no actual buildPhase going on here, the derivations of the 44 # redistributables are sensitive to the compiler flags provided to stdenv. The patchelf package 45 # is sensitive to the compiler flags provided to stdenv, and we depend on it. As such, we are ··· 164 outputSpecified = true; 165 166 meta = { 167 + inherit platforms; 168 + description = "${description}. By downloading and using the packages you accept the terms and conditions of the ${finalAttrs.meta.license.shortName}"; 169 license = lib.licenses.nvidiaCudaRedist // { 170 url = "https://developer.download.nvidia.com/compute/cuda/redist/${releaseAttrs.license_path or "${pname}/LICENSE.txt"}"; 171 }; ··· 175 # causes Nix to prefer that output over the others if outputSpecified isn't set). 176 outputsToInstall = [ "out" ]; 177 }; 178 + })