Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
529 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
# Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix
{
package,
# redistSystem :: String
# String is "unsupported" if the given architecture is unsupported.
redistSystem,
}:
{
featureRelease = {
inherit (package) minCudaVersion maxCudaVersion;
${redistSystem}.outputs = {
lib = true;
static = true;
dev = true;
};
};
redistribRelease = {
name = "NVIDIA CUDA Deep Neural Network library (cuDNN)";
inherit (package) hash url version;
};
}