diff options
| author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-11-21 17:50:12 +0100 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2024-11-22 15:46:00 +0100 |
| commit | db0a0b11739ce4da69266a8358892fcd60effd16 (patch) | |
| tree | 664db69d1c565caa2d55105476714eb432a147be /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 9cd5d0922a282d949422be92e8565f08ec4f22cd (diff) | |
nixos/users-groups: split isSystemUser/isNormalUser and uid check into two
Before the error message only mentioned isSystemUser/isNormalUser which
lead to a confusing situation when setting isNormalUser and an uid like
500 which would generate an error like:
error:
Failed assertions:
- Exactly one of users.users.other.isSystemUser and users.users.other.isNormalUser must be set.
from which you cannot know that setting the uid to 500 *and* setting
isNormalUser is the actual problem.
With this patch the error looks like:
error:
Failed assertions:
- A user cannot have a users.users.fixme.uid set below 1000 and set users.users.fixme.isNormalUser.
Either users.users.fixme.isSystemUser must be set to true instead of users.users.fixme.isNormalUser
or users.users.fixme.uid must be changed to 1000 or above.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
