From 089b2930196a95e5111a1d21b06d6c8e76cfd011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Hahn?= Date: Wed, 28 May 2014 20:12:53 +0800 Subject: [PATCH] better error message in case of missing uids --- nixos/modules/config/users-groups.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 873b6fb424de..5de81a773424 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -509,7 +509,7 @@ in { message = "uids and gids must be unique!"; } { assertion = cfg.mutableUsers || (nonUidUsers == {}); - message = "When mutableUsers is false, no uid can be null"; + message = "When mutableUsers is false, no uid can be null: ${toString (attrNames nonUidUsers)}"; } { assertion = cfg.mutableUsers || (nonGidGroups == {}); message = "When mutableUsers is false, no gid can be null";