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
292 B
Nix
11 lines
292 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) options types;
|
|
Outputs = import ./outputs.nix { inherit lib; };
|
|
in
|
|
options.mkOption {
|
|
description = "A package in the manifest";
|
|
example = (import ./release.nix { inherit lib; }).linux-x86_64;
|
|
type = types.submodule { options.outputs = Outputs; };
|
|
}
|