summaryrefslogtreecommitdiff
path: root/lib/gvariant.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-11-20 03:02:11 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-11-20 03:02:11 +0100
commit055ba65fed8eac15b13ed68f70a7d506f9b2d291 (patch)
treec050f8a470371dec5c661f7666f8aaf10b696a72 /lib/gvariant.nix
parentjasper: 4.0.1 -> 4.1.0 (diff)
downloadnixpkgs-055ba65fed8eac15b13ed68f70a7d506f9b2d291.tar.gz
lib: Take advantage of section descriptions
See https://github.com/nix-community/nixdoc/releases/tag/v2.6.0
Diffstat (limited to 'lib/gvariant.nix')
-rw-r--r--lib/gvariant.nix19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/gvariant.nix b/lib/gvariant.nix
index 3142ffc5f149..708213224d3e 100644
--- a/lib/gvariant.nix
+++ b/lib/gvariant.nix
@@ -1,16 +1,17 @@
-# This file is based on https://github.com/nix-community/home-manager
-# Copyright (c) 2017-2022 Home Manager contributors
-#
+/*
+ A partial and basic implementation of GVariant formatted strings.
+ See [GVariant Format Strings](https://docs.gtk.org/glib/gvariant-format-strings.html) for details.
+ :::{.warning}
+ This API is not considered fully stable and it might therefore
+ change in backwards incompatible ways without prior notice.
+ :::
+*/
+# This file is based on https://github.com/nix-community/home-manager
+# Copyright (c) 2017-2022 Home Manager contributors
{ lib }:
-/* A partial and basic implementation of GVariant formatted strings.
- See https://docs.gtk.org/glib/gvariant-format-strings.html for detauls.
-
- Note, this API is not considered fully stable and it might therefore
- change in backwards incompatible ways without prior notice.
-*/
let
inherit (lib)
concatMapStringsSep concatStrings escape head replaceStrings;