diff --git a/registry/stable-uid.nix b/registry/stable-uid.nix index cb6faaf..bb29bd5 100644 --- a/registry/stable-uid.nix +++ b/registry/stable-uid.nix @@ -22,14 +22,10 @@ in type = lib.types.ints.positive; - validate = entries: - let - uidConflicts = duplicateUids entries; - in - [ - { - assertion = uidConflicts == { }; - message = "Stable UID allocations must be unique."; - } - ]; + validate = entries: [ + { + assertion = duplicateUids entries == { }; + message = "Stable UID allocations must be unique."; + } + ]; }