[Nix-dev] Flattening pkgs tree in nixpkgs/pkgs
Jakob Gillich
jakob at gillich.me
Fri Jan 8 04:52:12 CET 2016
Oh I never said we should take the same categories, just that
<category>/<package> is a sane structure. devel for example could be devel-
python, devel-ruby etc, just like the current langPackages.
On Fri, Jan 8, 2016, at 04:35 AM, Mathnerd314 wrote:
> On Thu, Jan 7, 2016 at 7:48 PM, Jakob Gillich
> <jakob at gillich.me> wrote:
>> __
>> I agree that the current folder structure is a mess. There is a
>> severe lack of structure, often there are further category-folders in
>> a folder with packages (like misc/, misc/themes/).
>>
>> FreeBSD has categories at the root level, everything below are
>> packages:
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-categories.html[1]
>>
>> Maybe this model could work for us, too?
>
> That has 5338 packages in the devel/ folder. I don't think it works.
> Gentoo has a tighter category tree, but they too have run into the
> 1000 files limit:
> https://github.com/gentoo-haskell/gentoo-haskell/tree/master/dev-haskell
> I'm thinking haskell/<2-letter prefix> is the way to go, if we needed
> a separate file for each package. But the current giant-file system is
> fine (other than that GitHub doesn't index it).
>
> -- Mathnerd314
Links:
1. https://freshports.org/categories.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160108/258fdec8/attachment.html
More information about the nix-dev
mailing list