[Nix-dev] Flattening pkgs tree in nixpkgs/pkgs

Tomasz Czyż tomasz.czyz at gmail.com
Fri Jan 8 23:16:42 CET 2016


2016-01-08 14:58 GMT+00:00 Vladimír Čunát <vcunat at gmail.com>:

> On 01/08/2016 02:53 PM, Daniel Peebles wrote:
> > I think the categories/directories could make more sense than they do
> > today, and that all-packages.nix should be abolished
>
> The largest problem I see for categorization is ambiguity (mentioned
> already). The "categories" will always overlap nontrivially, so we would
> better track such information in a different way than directory
> structure, e.g. meta.tags = [ "foo" "bar" "baz" ]; (perhaps even
> hierarchical tags).
>
+1

>
> Currently a significant portion of our packages is in
> pkgs/development/libraries/ - which is a rather bad category IMO. If I
> didn't use tab-completion, I would've pushed this issue hard long time
> ago already.
>
> Personally, I would make it much flatter and also make it (almost)
> exactly correspond to our *attribute* hierarchy.
>
+100

>
> We had some discussion around this on NixCon. IMO best time to execute
> this will be during release stabilization to minimize cherry-pick
> conflicts due to file renames, but first we need a clear consensus.
>
>
> Vladimir
>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
Tomasz Czyż
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160108/f587a526/attachment.html 


More information about the nix-dev mailing list