[Nix-dev] recursiveUpdate for lists

Игорь Пашев pashev.igor at gmail.com
Tue Oct 11 15:31:17 CEST 2016


Something like https://github.com/NixOS/nixpkgs/blob/master/lib/types.nix#L117 ?

I don't know what you are dealing with, but probably you could
delegate it to modules.

2016-10-11 16:00 GMT+03:00 Tomasz Czyż <tomasz.czyz at gmail.com>:
> Hi,
>
> I'm using recursiveUpdate to merge some attribute sets to construct
> configurations.
>
> Does anyone know similar function but which also merges lists?
> recursiveUpdate just overrides list from the lastest attribute instead of
> merging (list it does for attributes).
>
> Tom
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>


More information about the nix-dev mailing list