!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

234 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture52 Servers

Load older messages


SenderMessageTime
11 Jun 2023
@hexa:lossy.networkhexa__no?10:16:00
@piegames:matrix.org@piegames:matrix.org
In reply to @k900:0upti.me
Actually, _by-unit
The ultimate compromise
10:16:15
@hexa:lossy.networkhexa
In reply to @piegames:matrix.org
The ultimate compromise
the worst of all choices then? 😄
10:16:32
@whentze:matrix.orgWanja HentzeI don't know what unit means and by this point I'm afraid to ask10:16:33
@whentze:matrix.orgWanja Hentzeall I know is that nixpkgs is an absolute unit10:16:51
@piegames:matrix.org@piegames:matrix.orgIt's like the Matrix, you must have seen it for yourself10:16:58
@whentze:matrix.orgWanja Hentzewe should resolve this like the Rust folks resolved the great async syntax debate and pick a choice that everyone hates equally10:19:23
@whentze:matrix.orgWanja Hentzelet's just name it `.DS_Store`10:19:40
@k900:0upti.meK900Oof10:19:48
@piegames:matrix.org@piegames:matrix.org
In reply to @whentze:matrix.org
let's just name it `.DS_Store`
.nomedia
10:20:10
@k900:0upti.meK900 System Volume Information 10:20:25
@syphoxy:matrix.org@syphoxy:matrix.orgI have a question. why are there items in pkgs/ that aren't part of the sharding?10:20:40
@k900:0upti.meK900 Because there's stuff like python-packages 10:20:51
@k900:0upti.meK900That should probably live in its own directory10:21:02
@piegames:matrix.org@piegames:matrix.orgBecause some have a more complicated setup that can't be easily migrated10:21:12
@hexa:lossy.networkhexayeah, we have scripts working on the python-modules directory10:21:45
@hexa:lossy.networkhexawould be bad if we had to rework that discovery process 😄10:21:57
@piegames:matrix.org@piegames:matrix.orgSame for gnomeExtensions10:22:01
@k900:0upti.meK900 It would be cool to eventually end up with python-modules/by-name though 10:22:06
@k900:0upti.meK900And similar in other sets10:22:10
@hexa:lossy.networkhexacertainly10:22:17
@k900:0upti.meK900But we'll have to do that on a set by set basis I think10:22:32
@piegames:matrix.org@piegames:matrix.orgI think that is mentioned in Future work10:22:43
@syphoxy:matrix.org@syphoxy:matrix.org

how about this..

pkgs/A/B/${name}/package.nix

everything that isn't part of the sharding stays in pkgs/ like where it is now.

the one issue we came up with this is that short name packages become ambiguous but I'm pretty sure the ambiguous case only happens for 1 character package names. if you had a package "ab", that would result in pkgs/a/b/ab/package.nix.

for the single letter packages, which in the most generous of circumstances would be at most 40, we could special case them in a folder pkgs/root/.

10:28:30
@syphoxy:matrix.org@syphoxy:matrix.orgeven if we wanted to expand the sharding out to 3 or 4 levels, the ambiguous case would always be the 1 character package names because the shard .. key? is only 1 character long.10:30:40
@syphoxy:matrix.org@syphoxy:matrix.orgthat is, at any level of the sharding, we can distinguish the shard path from a package because packages must be more than 1 character long in length.10:31:43
@piegames:matrix.org@piegames:matrix.orgI think this combines the disadvantages of mixing shards with categories and multi-level sharding10:32:04
@syphoxy:matrix.org@syphoxy:matrix.orgum. I don't follow.10:32:44
@piegames:matrix.org@piegames:matrix.orgBoth of these have been discussed individually and been rejected for various reasons. And combining them gives you the worst of both IMO10:33:26
@syphoxy:matrix.org@syphoxy:matrix.orgisn't the prevailing solution that we want pkgs/AA/BB/..?10:34:11

Show newer messages


Back to Room ListRoom Version: 9