Allow options to be marked as "internal"

This means they're not for end users.  Currently they're filtered from
the manual, but we could include them in a separate section.
This commit is contained in:
Eelco Dolstra
2013-10-23 20:08:21 +02:00
parent e29b51bfb1
commit 29014a47fb
6 changed files with 13 additions and 3 deletions
+1
View File
@@ -13,6 +13,7 @@ in
options = {
assertions = mkOption {
internal = true;
default = [];
example = [ { assertion = false; message = "you can't enable this for that reason"; } ];
merge = pkgs.lib.mergeListOption;