[Nix-dev] modularize all-packages?

Wout Mertens wout.mertens at gmail.com
Thu May 7 15:17:05 CEST 2015


yes indeed that looks nice, it would eliminate some 3855 lines of 9351
non-empty lines... With more probably a small refactor away.

On Thu, May 7, 2015 at 3:08 PM Daniel Peebles <pumpkingod at gmail.com> wrote:

> What went wrong? I think that's what I was thinking of
>
>
>
> > On May 7, 2015, at 08:50, Eelco Dolstra <eelco.dolstra at logicblox.com>
> wrote:
> >
> >> On 07/05/15 14:29, Daniel Peebles wrote:
> >>
> >> I thought that at some point there was an effort to autogenerate
> >> (dynamically, so not nix codegen) the list from readDir.
> >
> > I made an abortive attempt at reducing the size of all-packages.nix a
> while back:
> >
> >
> https://github.com/NixOS/nixpkgs/commit/ece61b7cc803d374e81b1094bd9c1f6d5a9ca5d0
> >
> > It would allow getting rid of all packages that don't override any
> default
> > arguments (i.e. pass "{ }" to callPackage).
> >
> > --
> > Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150507/2eea40b3/attachment.html 


More information about the nix-dev mailing list