mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 09:36:20 +09:00
formats.ini: expose INI atom from all ini formats
This commit is contained in:
parent
b35c45a2c1
commit
6b53949b0c
3 changed files with 24 additions and 14 deletions
|
@ -312,6 +312,8 @@ have a predefined type and string generator already declared under
|
|||
may be transformed into multiple key-value pairs depending on
|
||||
`listToValue`).
|
||||
|
||||
The attribute `lib.type.atom` contains the used INI atom.
|
||||
|
||||
`pkgs.formats.iniWithGlobalSection` { *`listsAsDuplicateKeys`* ? false, *`listToValue`* ? null, \.\.\. }
|
||||
|
||||
: A function taking an attribute set with values
|
||||
|
@ -333,6 +335,8 @@ have a predefined type and string generator already declared under
|
|||
attrset of key-value pairs for a single section, the global section which
|
||||
preceedes the section definitions.
|
||||
|
||||
The attribute `lib.type.atom` contains the used INI atom.
|
||||
|
||||
`pkgs.formats.toml` { }
|
||||
|
||||
: A function taking an empty attribute set (for future extensibility)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue