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
cudaNamePrefixmust 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.