blob: 92c7b1a318738b565891f86fb6e6f6240972bbe4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
with builtins;
with import ./utils.nix;
builtins:
concatStrings (map
(name:
let builtin = builtins.${name}; in
"<dt><code>${name} "
+ concatStringsSep " " (map (s: "<var>${s}</var>") builtin.args)
+ "</code></dt>"
+ "<dd>\n\n"
+ builtin.doc
+ "\n\n</dd>"
)
(attrNames builtins))
|