[Nix-dev] Declarative user management merged to master

Bjørn Forsman bjorn.forsman at gmail.com
Sat Feb 8 23:47:44 CET 2014


On 8 February 2014 21:21, Shea Levy <shea at shealevy.com> wrote:
> The "unnamed" thing comes from loaOf (i.e. list-or-attribute-set of)
> types, when some module uses a list instead of an attribute set. So for
> example if some module does users.extraUsers = [ { name = "alice"; } ];,
> the module system itself (the thing reporting the error) can't in
> general know what name to give, so it gives an index instead.
>
> I've tried to improve this a bit in
> 84a7a09bc8c0bd1b53ea5f56ae6426e3a2e9bb21: Now if the entry in list has a
> "name" attribute, that is used instead of "unnamed".

Thanks!


More information about the nix-dev mailing list