From 6f5dade9c92c94363c5900ae0cce3f5a46dc1f84 Mon Sep 17 00:00:00 2001 From: atlas Date: Sun, 28 Jun 2026 23:58:40 +0200 Subject: [PATCH] treefmt: collapse the assertion-message interpolation to one line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nixfmt wanted the ${...} on a single line (verified locally: nix build .#checks.x86_64-linux.formatting passes). The earlier CI 'docs' failure was a transient muede-pc2 build hiccup — the docs check builds clean locally on the same drv. --- nix/modules/hive-forge.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nix/modules/hive-forge.nix b/nix/modules/hive-forge.nix index bad108e8..5f84f9f8 100644 --- a/nix/modules/hive-forge.nix +++ b/nix/modules/hive-forge.nix @@ -355,9 +355,7 @@ in assertion = lib.all (m: lib.length (lib.splitString "/" m.dest) == 2) effectiveMirrors; message = '' Every services.hyperhive.forge.mirrors[].dest must be exactly - "/" (one slash). Got: ${ - lib.concatMapStringsSep ", " (m: m.dest) effectiveMirrors - } + "/" (one slash). Got: ${lib.concatMapStringsSep ", " (m: m.dest) effectiveMirrors} ''; } {