From ca3a6ba62ae827fd7d8cf41ae0c1f5a297593f94 Mon Sep 17 00:00:00 2001 From: alexion Date: Tue, 25 Aug 2026 21:26:42 -0400 Subject: [PATCH] refactor(registry): simplify stable uid validation message --- registry/stable-uid.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/registry/stable-uid.nix b/registry/stable-uid.nix index f10b8e2..3549850 100644 --- a/registry/stable-uid.nix +++ b/registry/stable-uid.nix @@ -1,7 +1,6 @@ { lib, ... }: let inherit (lib) - concatStringsSep foldl' groupBy unique @@ -25,8 +24,6 @@ let acc ) [ ] (builtins.attrNames byUid); - renderUidConflict = conflict: - "${toString conflict.uid} is assigned to ${concatStringsSep ", " conflict.serviceNames}"; in { # Next stable UID: 20003 @@ -41,9 +38,7 @@ in [ { assertion = uidConflicts == [ ]; - message = '' - Duplicate stable UID allocation(s): ${concatStringsSep "\n" (map renderUidConflict uidConflicts)} - ''; + message = "Stable UID allocations must be unique."; } ]; }