about summary refs log tree commit diff
path: root/doc/doc-support/lib-function-docs.nix
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2022-12-12 12:21:59 +0100
committerNaïm Favier <n@monade.li>2022-12-22 11:31:11 +0100
commitce952286ca8a37e8c63d9627aec2f0dc2c2913f2 (patch)
tree3ac3eca07eda5a24b7805c3fccefa1cd882a339c /doc/doc-support/lib-function-docs.nix
parente1bb8f1e74895b6c4365e0fb7dcded9f69d39358 (diff)
doc/lib-functions: preserve libsets order
Diffstat (limited to 'doc/doc-support/lib-function-docs.nix')
-rw-r--r--doc/doc-support/lib-function-docs.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/doc-support/lib-function-docs.nix b/doc/doc-support/lib-function-docs.nix
index a11de1a9f6f1b..d3d90d98c9814 100644
--- a/doc/doc-support/lib-function-docs.nix
+++ b/doc/doc-support/lib-function-docs.nix
@@ -20,9 +20,9 @@ with pkgs; stdenv.mkDerivation {
     <root xmlns:xi="http://www.w3.org/2001/XInclude">
     EOF
 
-    ${lib.concatStrings (lib.mapAttrsToList (name: description: ''
+    ${lib.concatMapStrings ({ name, description }: ''
       docgen ${name} ${lib.escapeShellArg description}
-    '') libsets)}
+    '') libsets}
 
     echo "</root>" >> "$out/index.xml"