From 90f48fe81143d010761b2adb4c30a8daf474cbae Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 14 Oct 2026 07:18:23 -0400 Subject: [PATCH] Fix formatting of `darwin-derivation-builder.cc` 56107313a9 (Fix sandbox breakpoint escape) left a comment misaligned for clang-format, so the pre-commit check fails on this branch, for example on #16607. Assisted-by: Claude Code (Claude Opus 5.5) --- src/libstore/unix/build/darwin-derivation-builder.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libstore/unix/build/darwin-derivation-builder.cc b/src/libstore/unix/build/darwin-derivation-builder.cc index 6430cc23b2eb..76a5e001c198 100644 --- a/src/libstore/unix/build/darwin-derivation-builder.cc +++ b/src/libstore/unix/build/darwin-derivation-builder.cc @@ -144,9 +144,9 @@ struct DarwinDerivationBuilder : DerivationBuilderImpl } /* Only open a new allow form once we know this path will actually - * contribute a selector. Opening it before resolving the path - * leaves an unqualified (allow ...) form behind when an optional - * path is missing, and an unqualified allow form render the sandbox useless. */ + * contribute a selector. Opening it before resolving the path + * leaves an unqualified (allow ...) form behind when an optional + * path is missing, and an unqualified allow form render the sandbox useless. */ if (sandboxProfile.length() >= breakpoint) { debug("Sandbox break: %d %d", sandboxProfile.length(), breakpoint); sandboxProfile += ")\n(allow file-read* file-write* process-exec\n";