forked from mirrors/nixpkgs
Merge pull request #2782 from soenkehahn/better_error_message_missing_uid
better error message in case of missing uids
This commit is contained in:
commit
642449da18
|
@ -509,7 +509,7 @@ in {
|
||||||
message = "uids and gids must be unique!";
|
message = "uids and gids must be unique!";
|
||||||
}
|
}
|
||||||
{ assertion = cfg.mutableUsers || (nonUidUsers == {});
|
{ 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 == {});
|
{ assertion = cfg.mutableUsers || (nonGidGroups == {});
|
||||||
message = "When mutableUsers is false, no gid can be null";
|
message = "When mutableUsers is false, no gid can be null";
|
||||||
|
|
Loading…
Reference in a new issue