lib: export option location in `optionAttrSetToDocList`

wip/yesman
Jan Malakhovski 6 years ago
parent ad78e52357
commit a3a8c1f54d
  1. 1
      lib/options.nix

@ -85,6 +85,7 @@ rec {
concatMap (opt:
let
docOption = rec {
loc = opt.loc;
name = showOption opt.loc;
description = opt.description or (throw "Option `${name}' has no description.");
declarations = filter (x: x != unknownModule) opt.declarations;

Loading…
Cancel
Save