nixpkgs-architecture / simple-package-paths

Nix RFC draft for auto-calling packages in nixpkgs
18 stars 1 forks source link

Mention related work #5

Closed Ericson2314 closed 1 year ago

Ericson2314 commented 1 year ago
roberth commented 1 year ago

I see a tree of categories in triton. @Ericson2314 is this a past thing?

Ericson2314 commented 1 year ago

@roberth yeah I think that is packages that never got moved. They do flatten things.

aameen-tulip commented 1 year ago

I used this style for splitting up "unscoped" NPM packages ( e.g. "lodash" -> unscoped/l/lodash, "@foo/bar" -> foo/bar ).

This resolved my issues with GutHub's web interface.

One notable edge case I encountered was that you need to use lib.toLower when creating the substring. Otherwise you'll get inconsistency between Linux and Darwin which is case insensitive with filenames.

https://github.com/aakropotkin/flocoPackages/tree/main/info/unscoped

infinisil commented 1 year ago

Let's only link to related work if they did like a benchmark which influenced our decision.