mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
option types: Fix the generated template name used for the documentation.
svn path=/nixpkgs/trunk/; revision=15938
This commit is contained in:
parent
8f8971144f
commit
6f0b3b683e
@ -197,7 +197,7 @@ rec {
|
||||
merge = concatLists;
|
||||
iter = f: path: list: map (elemType.iter f (path + ".*")) list;
|
||||
fold = op: nul: list: lib.fold (e: l: elemType.fold op l e) nul list;
|
||||
docPath = path: elemType (path + ".*");
|
||||
docPath = path: elemType.docPath (path + ".*");
|
||||
inherit (elemType) hasOptions;
|
||||
};
|
||||
|
||||
@ -208,7 +208,7 @@ rec {
|
||||
merge = fold lib.mergeAttrs {};
|
||||
iter = f: path: set: lib.mapAttrs (name: elemType.iter f (path + "." + name)) set;
|
||||
fold = op: nul: set: fold (e: l: elemType.fold op l e) nul (lib.attrValues set);
|
||||
docPath = path: elemType (path + ".<name>");
|
||||
docPath = path: elemType.docPath (path + ".<name>");
|
||||
inherit (elemType) hasOptions;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user