Skip to content
Unverified Commit e0e65cbf authored by aszlig's avatar aszlig
Browse files

nixos/users-groups: Fix eval on missing uid/gid.

This hopefully fixes a regression introduced by 08b214a8.

In bf129a2c, it was already fixed for normal uid/gid values and it got
reintroduced by sub-uid/gid-handling again, so I've refactored it a bit
into a filterNull function which takes care of also the filtering
introduced by bf129a2c

.

I have not tested this extensively, but master is already broken for
systems with `mutableUsers = true` and no uid values set.

Signed-off-by: default avataraszlig <aszlig@redmoonstudios.org>
parent fe287a26
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment