2012/7/6 Mathijs Kwik <[email protected]>

>  Yeah I saw those comments too, but I can't see how that would work.
> Because the "original" (pkgsOrig) set is built by passing pkgs (the
> final set) to pkgsFun.
> In other words, the set references itself, which is perfectly normal
> in a lazy setting.
> The notion of "original" makes sense for the attributes that get
> overwritten, but for the rest, I would expect a "shine through".
>

As Shea already pointed out there is ``__overrides`` dark magic involved.
Basically, your overrides are never added to pkgs directly, I mean, there
is no something like "pkgs = overrides // origPkgs".

--
Кирилл Елагин
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to