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
339 B
Nix
11 lines
339 B
Nix
{ lib, config, ... }:
|
|
let
|
|
inherit (lib) options types;
|
|
Package = import ./package.nix { inherit lib config; };
|
|
in
|
|
options.mkOption {
|
|
description = "A release is an attribute set which includes a mapping from platform to package";
|
|
example = (import ./manifest.nix { inherit lib; }).cuda_cccl;
|
|
type = types.attrsOf Package.type;
|
|
}
|