From cfbcf122769d613e08ed906021d84ab5c0db95c0 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Thu, 4 Apr 2024 16:07:44 -0700 Subject: Format Nix code with `nixfmt` Change-Id: I61efeb666ff7481c05fcb247168290e86a250151 --- doc/manual/generate-builtin-constants.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'doc/manual/generate-builtin-constants.nix') 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})"; -- cgit v1.2.3