* Omit the "Defined by:" elements in the configuration.nix section of
the manual. While it's a useful feature, it has the unfortunate side-effect of causing the manual to be rebuilt every time the user adds an option definition to any module (including configuration.nix), and rebuilding the manual is rather slow. svn path=/nixpkgs/trunk/; revision=23110
This commit is contained in:
parent
e4686546ec
commit
415cf4cd1c
@ -259,7 +259,6 @@ rec {
|
|||||||
value = m.config;
|
value = m.config;
|
||||||
}) definitions;
|
}) definitions;
|
||||||
|
|
||||||
|
|
||||||
values = values_ ++
|
values = values_ ++
|
||||||
optionals (option.isOption && option.decl ? extraConfigs)
|
optionals (option.isOption && option.decl ? extraConfigs)
|
||||||
option.decl.extraConfigs;
|
option.decl.extraConfigs;
|
||||||
|
@ -260,7 +260,7 @@ rec {
|
|||||||
throw "Option ${opt.name}: No description.";
|
throw "Option ${opt.name}: No description.";
|
||||||
|
|
||||||
declarations = map (x: toString x.source) opt.declarations;
|
declarations = map (x: toString x.source) opt.declarations;
|
||||||
definitions = map (x: toString x.source) opt.definitions;
|
#definitions = map (x: toString x.source) opt.definitions;
|
||||||
}
|
}
|
||||||
// optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
|
// optionalAttrs (opt ? example) { example = scrubOptionValue opt.example; }
|
||||||
// optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
|
// optionalAttrs (opt ? default) { default = scrubOptionValue opt.default; }
|
||||||
|
Loading…
Reference in New Issue
Block a user