On Wed, Mar 8, 2017 at 11:01 AM, Benno Fünfstück <benno.fuenfstu...@gmail.com> wrote: > Nicolas Pierron <nicolas.b.pier...@nbp.name> schrieb am Mi., 8. März 2017, > 01:30: >> >> nit: super.callPackage, as the super.callPackage *function* already >> aliases self packages. Otherwise, you would be going twice through >> the fix-point. > > What if someone later wants to override callPackage?
Later, this person would have to face the fact that security updates are not applied. The documentation is clear that if this is a function or a recipe, then it should be coming from `super`, if this is a dependency it should come from `self`. `callPackage` is a function, which captures `self` to provide default dependencies, so it should be taken out of `super`. -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/ _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev