On Fri, Mar 18, 2016 at 11:19 PM, zimbatm <[email protected]> wrote:
> Hi, stupid question of the day.
>
> When I see things like recurseIntoAttr in all-packages.nix I am left
> wondering why this is better than repeated `import ./<lang>-packages.nix {
> lang = lang_1_0; }`, where lang_1_0 would vary. Does anybody know ?

recurseIntoAttrs is used to hint that we have an attribute set of
derivations below, thus to let a few function iterate over the full
list of packages.
If we don't have it is probably because we don't want to list the set
of packages which are below.

-- 
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to