cudaPackages.tests.redists-installed: init
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
cudaNamePrefix,
|
||||
cudaPackages,
|
||||
lib,
|
||||
linkFarm,
|
||||
}:
|
||||
linkFarm "${cudaNamePrefix}-redists-installed" (
|
||||
lib.concatMapAttrs (
|
||||
name: attr:
|
||||
lib.optionalAttrs (attr ? passthru.redistName && attr.meta.available or false) (
|
||||
lib.genAttrs' attr.outputs (output: {
|
||||
name = "${name}-${output}";
|
||||
value = attr.${output};
|
||||
})
|
||||
)
|
||||
) cudaPackages
|
||||
)
|
||||
Reference in New Issue
Block a user