forked from mirrors/nixpkgs
better error message in case of missing uids
This commit is contained in:
parent
cf32243de5
commit
089b293019
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue