3
0
Fork 0
forked from mirrors/nixpkgs

better error message in case of missing uids

This commit is contained in:
Sönke Hahn 2014-05-28 20:12:53 +08:00
parent cf32243de5
commit 089b293019

View file

@ -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";