mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
Manual: Don't show obsolete/deprecated options
This commit is contained in:
parent
29014a47fb
commit
ec0911ce7f
3 changed files with 3 additions and 1 deletions
|
@ -276,6 +276,7 @@ rec {
|
|||
declarations = map (x: toString x.source) opt.declarations;
|
||||
#definitions = map (x: toString x.source) opt.definitions;
|
||||
internal = opt.internal or false;
|
||||
visible = opt.visible or true;
|
||||
}
|
||||
// optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
|
||||
// optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue