aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/generate-builtin-constants.nix
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/generate-builtin-constants.nix')
-rw-r--r--doc/manual/generate-builtin-constants.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/manual/generate-builtin-constants.nix b/doc/manual/generate-builtin-constants.nix
index 8af80a02c..23ec2cb55 100644
--- a/doc/manual/generate-builtin-constants.nix
+++ b/doc/manual/generate-builtin-constants.nix
@@ -5,7 +5,13 @@ in
builtinsInfo:
let
- showBuiltin = name: { doc, type, impure-only }:
+ showBuiltin =
+ name:
+ {
+ doc,
+ type,
+ impure-only,
+ }:
let
type' = optionalString (type != null) " (${type})";