diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-08-11 11:46:09 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-08-11 11:46:09 +0000 |
commit | 415cf4cd1c03bbae153061913d61c81177a4ad11 (patch) | |
tree | e9a706cd8acba8d39321fec993351bf8d530d67c /pkgs/lib | |
parent | e4686546ecc4175712a50e6da4b659a8b86949ef (diff) |
* 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
Diffstat (limited to 'pkgs/lib')
-rw-r--r-- | pkgs/lib/modules.nix | 1 | ||||
-rw-r--r-- | pkgs/lib/options.nix | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/lib/modules.nix b/pkgs/lib/modules.nix index 6457fd14eb597..4af87ec684489 100644 --- a/pkgs/lib/modules.nix +++ b/pkgs/lib/modules.nix @@ -259,7 +259,6 @@ rec { value = m.config; }) definitions; - values = values_ ++ optionals (option.isOption && option.decl ? extraConfigs) option.decl.extraConfigs; diff --git a/pkgs/lib/options.nix b/pkgs/lib/options.nix index a9d74f2f3facd..d742544bef2a8 100644 --- a/pkgs/lib/options.nix +++ b/pkgs/lib/options.nix @@ -260,7 +260,7 @@ rec { throw "Option ${opt.name}: No description."; 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 ? default) { default = scrubOptionValue opt.default; } |