[Nix-dev] concatAttrs :: [attrSet] -> attrSet ?
Sergiu Ivanov
sivanov at colimite.fr
Mon May 29 17:19:17 CEST 2017
Hello Tomasz, Domen, and Volth,
Thus quoth Tomasz Czyż at 13:26 on Mon, May 29 2017:
>
> https://github.com/NixOS/nixpkgs/blob/master/lib/attrsets.nix#L413 is also
> handy
>
> 2017-05-29 13:36 GMT+01:00 Domen Kožar <domen at dev.si>:
>
>> mkMerge can be used only with NixOS modules.
>>
>> I do remember some recursive merge function, but can't find it now.
>>
>> On Mon, May 29, 2017 at 2:29 PM, Volth <volth at volth.com> wrote:
>>
>>> there is also lib.mkMerge to handle nested attrs
My use case is waay simpler than modules (lucky me) :-)
recursiveUpdate and especially recursiveUpdateUntil are some interesting
beasts, thanks for the reference.
--
Sergiu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170529/bb3a974e/attachment.sig>
More information about the nix-dev
mailing list