Re: [Nix-dev] Merge attribute sets recursively

2016-06-15 Thread 4levels
Hi Daniel, Thanks for the pointer, I'll get on with it and report back here ;-) On Wed, Jun 15, 2016, 21:33 Daniel Hlynskyi wrote: > Does lib.recursiveUpdate do the job? > 15 черв. 2016 7:52 пп, користувач "4levels" <4lev...@gmail.com> написав: > >> Hi Nix Devs, >> >>

Re: [Nix-dev] Merge attribute sets recursively

2016-06-15 Thread Daniel Hlynskyi
Does lib.recursiveUpdate do the job? 15 черв. 2016 7:52 пп, користувач "4levels" <4lev...@gmail.com> написав: > Hi Nix Devs, > > I'm still struggling to achieve the following: > > I have an attribute set which is 2 levels deep nested and has a variable > number of subsets, like this: > > channels

[Nix-dev] Merge attribute sets recursively

2016-06-15 Thread 4levels
Hi Nix Devs, I'm still struggling to achieve the following: I have an attribute set which is 2 levels deep nested and has a variable number of subsets, like this: channels = { myallocator = { "1" = { username = "demo1"; }; "2" = { username = "demo2"; }; ...