mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 10:31:25 +09:00
doc/lib-functions: preserve libsets order
This commit is contained in:
parent
e1bb8f1e74
commit
ce952286ca
3 changed files with 16 additions and 16 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue