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