Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / cuda-modules / cudnn / shims.nix
bloba36ee26dab5dcc6952d4ae7163b1b1531d8075bb
1 # Shims to mimic the shape of ../modules/generic/manifests/{feature,redistrib}/release.nix
3   lib,
4   package,
5   # redistArch :: String
6   # String is "unsupported" if the given architecture is unsupported.
7   redistArch,
8 }:
10   featureRelease = lib.optionalAttrs (redistArch != "unsupported") {
11     ${redistArch}.outputs = {
12       lib = true;
13       static = true;
14       dev = true;
15     };
16   };
17   redistribRelease = {
18     name = "NVIDIA CUDA Deep Neural Network library (cuDNN)";
19     inherit (package) version;
20   };