1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-03 05:23:32 +02:00

docs: GVariant dictionaries are already supported

The support for dictionaries were introduced in 864ff685fe.
This commit is contained in:
Jan Tojnar 2023-05-06 16:16:47 +02:00 committed by Robert Helgesson
parent 81d5b220cd
commit cfa5c2869b
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -78,7 +78,7 @@ foo.bar = {
would place `c` before `b` and after `a` in the graph. would place `c` before `b` and after `a` in the graph.
[[sec-option-types-gvariant]]`hm.types.gvariant`:: [[sec-option-types-gvariant]]`hm.types.gvariant`::
This type is useful for options representing {gvariant-description}[GVariant] values. The type accepts all primitive GVariant types as well as arrays and tuples. Dictionaries are not currently supported. This type is useful for options representing {gvariant-description}[GVariant] values. The type accepts all primitive GVariant types as well as arrays, tuples, ``maybe'' types, and dictionaries.
+ +
To create a GVariant value you can use a number of provided functions. Examples assume an option `foo.bar` of type `hm.types.gvariant`. To create a GVariant value you can use a number of provided functions. Examples assume an option `foo.bar` of type `hm.types.gvariant`.
+ +