diff options
author | Rebecca Turner <rbt@sent.as> | 2024-04-04 16:07:44 -0700 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-04-08 13:00:00 -0700 |
commit | cfbcf122769d613e08ed906021d84ab5c0db95c0 (patch) | |
tree | f7ee0873b07cf94c8544b7862b332206da253ec5 /doc/manual/generate-builtin-constants.nix | |
parent | b3233405381b50c7f7eb87d7962b25a06d16be44 (diff) |
Format Nix code with `nixfmt`
Change-Id: I61efeb666ff7481c05fcb247168290e86a250151
Diffstat (limited to 'doc/manual/generate-builtin-constants.nix')
-rw-r--r-- | doc/manual/generate-builtin-constants.nix | 8 |
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})"; |