Files
nixpkgs/pkgs/development/cuda-modules/packages
Elliot Berman 236476c9d8 cudaPackages.tensorrt-samples: Add support for 10.16.1
(cherry picked from commit 5bb67e892a)
2026-06-24 22:44:05 +00:00
..
2025-11-21 17:56:40 +01:00

packages

Packages which are not created by the redistributable builder.

Conventions

  • All new packages should include the following lines as part of their arguments to stdenv.mkDerivation:

    finalAttrs: {
      __structuredAttrs = true;
      strictDeps = true;
    
      # NOTE: Depends on the CUDA package set, so use cudaNamePrefix.
      name = "${cudaNamePrefix}-${finalAttrs.pname}-${finalAttrs.version}";
    }
    

    If the package does not require elements of the package set, then the cudaNamePrefix must be omitted: changing the name of a derivation yields a different hash and store path, so we would end up with multiple different store paths with the same content.