diff options
author | Someone Serge <sergei.kozlukov@aalto.fi> | 2023-10-18 00:05:51 +0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-11-08 19:06:44 -0300 |
commit | 4e4bbb01ebfa4a1ce322f036007ec4d653071523 (patch) | |
tree | 68d5c771686c734ce8b63a769c93c5211ed57641 | |
parent | dd8e4b0a02dfca89e5de20aff6dfbebe5a7d136b (diff) | |
download | nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.tar nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.tar.gz nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.tar.bz2 nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.tar.lz nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.tar.xz nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.tar.zst nixpkgs-4e4bbb01ebfa4a1ce322f036007ec4d653071523.zip |
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
-rw-r--r-- | pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix b/pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix index 4b0f57faffc..1e4a3ab1785 100644 --- a/pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix +++ b/pkgs/development/compilers/cudatoolkit/redist/build-cuda-redist-package.nix @@ -39,7 +39,7 @@ let inherit (lib.meta) getExe; inherit (lib.strings) optionalString; in -backendStdenv.mkDerivation { +backendStdenv.mkDerivation (finalAttrs: { # NOTE: Even though there's no actual buildPhase going on here, the derivations of the # redistributables are sensitive to the compiler flags provided to stdenv. The patchelf package # is sensitive to the compiler flags provided to stdenv, and we depend on it. As such, we are @@ -164,7 +164,8 @@ backendStdenv.mkDerivation { outputSpecified = true; meta = { - inherit description platforms; + inherit platforms; + description = "${description}. By downloading and using the packages you accept the terms and conditions of the ${finalAttrs.meta.license.shortName}"; license = lib.licenses.nvidiaCudaRedist // { url = "https://developer.download.nvidia.com/compute/cuda/redist/${releaseAttrs.license_path or "${pname}/LICENSE.txt"}"; }; @@ -174,4 +175,4 @@ backendStdenv.mkDerivation { # causes Nix to prefer that output over the others if outputSpecified isn't set). outputsToInstall = [ "out" ]; }; -} +}) |