Nixpkgs Architecture Team | 221 Members | |
| https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture | 52 Servers |
| Sender | Message | Time |
|---|---|---|
| 8 Jul 2022 | ||
| 08:24:24 | ||
In reply to @infinisil:matrix.orgI’m camping this week. The overall idea sounds good. The one recommendation I’d have is to have two kinds of sessions. One for meetings/discussion and one for actually working/hacking/pair-programming/etc. Time set aside for each. This worked well (when we adhere to it) on the UX team. | 10:54:10 | |
| 12:26:37 | ||
| 13:14:36 | ||
| 13:17:45 | ||
| 17:58:25 | ||
| 9 Jul 2022 | ||
| 02:27:07 | ||
| infinisil: please invite me nick@bathumsphere.com | 02:28:32 | |
| 03:26:46 | ||
| nbathum (he or they): Done :) | 08:02:12 | |
| 09:44:50 | ||
| 09:49:06 | ||
| 09:52:01 | ||
| Hi all, yesterday this idea popped into my mind, has no business value just a cleanup. Maybe someone could evolve this idea further. Anyways here I go:
One of the examples would be So off the top of my head, there are 2 that could be separated:
pkgs evaluation:
And yeah, for the record I have not thought all this through and there will be edge cases, just maybe if there ever is going to be some large refactoring someone will keep this in mind. | 16:50:03 | |
| 10 Jul 2022 | ||
| Redacted or Malformed Event | 11:46:17 | |
| https://github.com/NixOS/nixpkgs/issues/172008 | 11:48:22 | |
In reply to @gytis-ivaskevicius:matrix.orgI haven't thought of making a separation like that, but it's an interesting thought. I guess this also goes a bit into the direction of what flakes does, to have separate output attributes for different things, like derivations in packages, library functions in lib, nixos modules in nixosModules, etc. | 15:01:20 | |
| We kinda already have separation for a few things like lib and python packages. But to be honest I generally find that anything more complex leads to pretty meaningless grouping. For example with the nixpkgs directory structure I always feel like I'm picking a vaguely related directory when adding a package and I've never actually got any value from the topic directory a package was in. In fact it is just annoying because the longer path makes false positives in my IDE's fuzzy finder. | 15:17:07 | |
| We should just do a crates.io and organize packages by name | 15:26:35 | |
pkgs/h/he/hello/default.nix | 15:26:52 | |
| (no) | 15:26:54 | |
| (unless?) | 15:26:57 | |
| I've wanted something like this for a while. I think it would be a good idea | 15:27:41 | |
| * `pkgs/h/e/hello/default.nix` | 15:27:59 | |
| The more I think about it, the more I'm starting to like it tbh | 15:28:16 | |
| It's kind of the same thing as having a consistent formatter (no. drop the pitchforks.) | 15:29:04 | |
| It's better to have a fixed convention than to argue about it every time | 15:29:24 | |
In reply to @k900:0upti.meYes, but indeed always hard to enforce/add retroactively | 15:30:30 | |
It should probably be pkgs/prefixed/h/e/hello/default.nix, so a slow transition is possible | 15:30:52 | |
Also I like the idea of introducing tags, like meta.tags = [ "gui" "audio" "networking" ], and then having some functions/tools to filter/search by category | 15:31:53 | |