93b08a7061
```bash nix run github:NixOS/nixpkgs/ab6071eb54cc9b66dda436111d4f569e4e56cbf4#nixfmt-rfc-style -L --allow-import-from-derivation -- pkgs/development/cuda-modules pkgs/test/cuda pkgs/top-level/cuda-packages.nix ```
11 lines
375 B
Nix
11 lines
375 B
Nix
{ lib, config, ... }:
|
|
let
|
|
inherit (lib) options trivial types;
|
|
Release = import ./release.nix { inherit lib config; };
|
|
in
|
|
options.mkOption {
|
|
description = "A feature manifest is an attribute set which includes a mapping from package name to release";
|
|
example = trivial.importJSON ../../../../cuda/manifests/feature_11.5.2.json;
|
|
type = types.attrsOf Release.type;
|
|
}
|