1
0
Fork 1
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:
Naïm Favier 2022-12-12 12:21:59 +01:00
parent e1bb8f1e74
commit ce952286ca
No known key found for this signature in database
GPG key ID: 95AFCE8211908325
3 changed files with 16 additions and 16 deletions

View file

@ -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"