!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

Load older messages


SenderMessageTime
12 Sep 2023
@infinisil:matrix.orginfinisilBtw I created an RFC 140 milestone: https://github.com/NixOS/nixpkgs/milestone/2510:41:47
@infinisil:matrix.orginfinisilWas a bit hard to keep track of all the PRs/issues10:42:21
@profpatsch:augsburg.oneprofpatschstaging-next should probably just receive a separate formatting commit10:50:38
@profpatsch:augsburg.oneprofpatschAt least in my mind formatting is deterministic, so no further merge conflicts10:51:03
@infinisil:matrix.orginfinisil(this isn't about formatting though)10:51:40
@infinisil:matrix.orginfinisil * (this isn't about formatting fyi)10:51:47
@profpatsch:augsburg.oneprofpatschoh, then disregard :)10:52:40
@profpatsch:augsburg.oneprofpatschI read “the automatic migration” and made an ass out of u & me10:53:05
@infinisil:matrix.orginfinisilHaha nah all good10:53:27
@keiichi:matrix.orgtetoI watched the pkgs/by-name nix-con talk . At some point it was mentioned that package sets like haskellPackages / luaPackages were out of scope and I was curious if there was work started regarding those package sets (yet). I have some related questions such as "shall we keep everything in one generated.nix file or explode those in xx/PACKAGE/default.nix"11:15:07
@keiichi:matrix.orgtetoone of my main problem is that one package that can't be updated (because wrong src etc) will block the generation of the whole package set. I have started working on a workaround with pytreesitter to replace AST nodes when successful but having per-package files has advantages (but I wonder if the sheer number of new files doesn't make it a no-go anyway)11:17:11
@infinisil:matrix.orginfinisil teto: No concrete plans yet. Quick thoughts regarding single vs multiple files: I think multiple files should be preferred regarding git, it should lead to a smaller repo size and make conflicts less frequent 11:31:00
@infinisil:matrix.orginfinisil

Check pkgs/by-name / check (pull_request_target) Successful in 46s

Why does this check seem to take longer now 🙃

14:54:20
@infinisil:matrix.orginfinisilOh damn, looks like the actions/checkout@v4 is slower: https://github.com/NixOS/nixpkgs/actions/runs/6160467816/job/16717506688?pr=25442314:54:54
@infinisil:matrix.orginfinisilOr it could be https://github.com/NixOS/nixpkgs/pull/25437114:58:35
@infinisil:matrix.orginfinisilWell whatever, it's still fast enough, not worth looking into14:58:50
13 Sep 2023
@quantenzitrone:matrix.org@quantenzitrone:matrix.org whoa there are already 37 new packages using pkgs/by-name 16:11:37
@quantenzitrone:matrix.org@quantenzitrone:matrix.org * whoa there are already 36 new packages using pkgs/by-name 16:12:05
@quantenzitrone:matrix.org@quantenzitrone:matrix.orgoh no, some people are moving their packages over16:13:38
@infinisil:matrix.orginfinisil Quantenzitrone: Check out https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name#manual-migration-guidelines :) 16:24:02
@infinisil:matrix.orginfinisilIt's not bad if the code is being touched anyways16:24:26
14 Sep 2023
@jlesquembre:matrix.orgjlesquembre changed their display name from José Luis Lafuente to jlesquembre.10:36:42
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @infinisil:matrix.org
teto: No concrete plans yet. Quick thoughts regarding single vs multiple files: I think multiple files should be preferred regarding git, it should lead to a smaller repo size and make conflicts less frequent
Also if it's a locked fetchTree those small files may never be written to disk, so i/o doesn't have to be a concern if libgit2 is a good lib. Probably is
11:01:14
15 Sep 2023
@sbc64:matrix.org@sbc64:matrix.org set a profile picture.09:39:33
19 Sep 2023
@alejandrosame:matrix.org@alejandrosame:matrix.org I extracted the code that makes pkgs/by-name to a separate repo to experiment with it. Something that I noticed is that lib is passed as a hardcoded relative path. Has there any thought been given to make the by-name a reusable pattern? Maybe making sharding optional (as it makes sense for big package repos like nixpkgs but not smaller repos). 13:20:05
@alejandrosame:matrix.org@alejandrosame:matrix.org * I extracted the code that makes pkgs/by-name work to a separate repo to experiment with it. Something that I noticed is that lib is passed as a hardcoded relative path. Has there any thought been given to make the by-name a reusable pattern? Maybe making sharding optional (as it makes sense for big package repos like nixpkgs but not smaller repos). 13:20:18
@infinisil:matrix.orginfinisil alejandrosame: I would like it to be stabilised and re-usable for third-parties in the future, but only after RFC 140 is fully implemented, including the migration. Mainly to see if any problems come up, in which case we can fix them first without worrying about third-party uses 14:02:32
@alejandrosame:matrix.org@alejandrosame:matrix.org infinisil: cool, makes sense. I just started using the logic as is (getting rid of the hardcoded lib) because it's really useful to structure also third party repos. I'll keep my example at hand even if I move on from the idea so it serves as a use case demonstration (although I think the overall idea is there to stay in my project). 14:20:01
@infinisil:matrix.orginfinisil alejandrosame: Also seeing something similar here https://github.com/ngi-nix/ngipkgs/issues/51 :) 14:26:49
@alejandrosame:matrix.org@alejandrosame:matrix.orgYeah! I'm also thinking about how to introduce "namespaces". I guess this is really what currently maps to per-framework/language package sets.15:07:11

Show newer messages


Back to Room ListRoom Version: 9