!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture

216 Members
Discussions about Nixpkgs' architecture - https://github.com/NixOS/nixpkgs/labels/architecture47 Servers

Load older messages


SenderMessageTime
31 Aug 2023
@infinisil:matrix.orginfinisil@room As with last week, I have now cleaned up https://github.com/NixOS/nixpkgs/pull/237439, part 1b of RFC 140. Please review this until Tuesday, where we have a meeting scheduled to do a final review and merge (if everything looks good)! The meeting is on 2023-09-05 15:30 CEST in https://meet.jit.si/nixpkgs-architecture and anybody is invited, but the most members of the Nixpkgs Architecture Team are expected to be there.21:12:33
@infinisil:matrix.orginfinisil This will allow people to start using pkgs/by-name 😄 21:14:00
1 Sep 2023
@infinisil:matrix.orginfinisil * @room As with last week, I have now cleaned up https://github.com/NixOS/nixpkgs/pull/237439, part 1b of RFC 140. Please review this until Tuesday, where we have a meeting scheduled to do a final review and merge (if everything looks good)! The meeting is on 2023-09-05 15:30 CEST in https://meet.jit.si/nixpkgs-architecture and anybody is invited, but most members of the Nixpkgs Architecture Team are expected to be there.01:51:10
4 Sep 2023
@infinisil:matrix.orginfinisilReminder that we plan to merge the above PR tomorrow unless major problems come up. Reviews appreciated, also even if it's just an approval :)05:23:14
@roberthensing:matrix.orgRobert Hensing (roberth) changed their display name from Robert Hensing (roberth) to roberth.15:27:32
@roberthensing:matrix.orgRobert Hensing (roberth) changed their display name from roberth to Robert Hensing (roberth).15:28:19
5 Sep 2023
@infinisil:matrix.orginfinisil

@room: The next NAT meeting will take place in 1 hour at 15:00 CEST - meeting link - live stream - meeting notes.

And immediately following that at 15:30 CEST will be the final review and ideally merge of https://github.com/NixOS/nixpkgs/pull/237439! Notably this part won't be recorded (and I also want to consider stopping recording of the NAT meetings fwiw)

11:58:34
@infinisil:matrix.orginfinisilAs always, anybody is free to join either meeting11:58:56
@infinisil:matrix.orginfinisil tomberek: John Ericson: Are you joining? 13:02:50
@tomberek:matrix.orgtomberek No, I have an unexpected issue to attend to. 14:43:26
@whentze:matrix.orgWanja HentzeCouldn't make it this week, but congrats on the merge!14:56:15
@infinisil:matrix.orginfinisil
gh pr list --search 'updated:>=2023-09-05' --limit 999 --json url,files,title \
  | jq -r '.[] | select(.files | any(.path | startswith("pkgs/by-name"))) | "\(.url): \(.title)"'
17:41:22
@infinisil:matrix.orginfinisil Queries all PRs since today that touch pkgs/by-name ^ (cc Robert Hensing (roberth)) 17:41:43
@infinisil:matrix.orginfinisil * Queries all PRs updated since today that touch pkgs/by-name ^ (cc Robert Hensing (roberth)) 17:45:59
@infinisil:matrix.orginfinisil *
gh pr list --search 'updated:>=2023-09-05' --state all --limit 999 --json url,files,title \
  | jq -r '.[] | select(.files | any(.path | startswith("pkgs/by-name"))) | "\(.url): \(.title)"'
19:15:42
@infinisil:matrix.orginfinisil *
gh pr list --search 'updated:>=2023-09-05' --state all --limit 999 --json url,files,title,state \
  | jq -r '.[] | select(.files | any(.path | startswith("pkgs/by-name"))) | "\(.url) (\(.state)): \(.title)"'
19:16:31
@infinisil:matrix.orginfinisilFirst new package! https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name19:17:23
@infinisil:matrix.orginfinisil * First new package! https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/wa/wayland-logout19:17:36
@figsoda:matrix.orgfigsodaI will work on nix-init to support this, hopefully we should see a lot more in the near future19:18:49
@k900:0upti.meK900wa19:19:22
@k900:0upti.meK900Masthead-Waluigi.17345b15.9afde10b.png
Download Masthead-Waluigi.17345b15.9afde10b.png
19:19:34
@figsoda:matrix.orgfigsodaimage.png
Download image.png
19:20:17
@infinisil:matrix.orginfinisil
In reply to @figsoda:matrix.org
I will work on nix-init to support this, hopefully we should see a lot more in the near future
Ah neat! Note that the folder structure should be treated as internal to Nixpkgs, there is no API guarantee that it will not change over time. Considering that, it would be great if we could figure out a proper API that Nixpkgs could expose for this. Maybe it should be as simple as pkgs.preferredDirectoryForPackage "foo" = ./pkgs/by-name/fo/foo
19:22:47
@piegames:matrix.org@piegames:matrix.orgAlso note that there will hopefully be multiple by-names in the future19:23:22
@figsoda:matrix.orgfigsodamy plan is to keep the latest stable release of nix-init compatible with nixpkgs master19:24:54
@figsoda:matrix.orgfigsodaand this should all be easy to opt out so the worst case isn't that bad19:25:36
@infinisil:matrix.orginfinisil Well such an API will happen at some point anyways. It has many more applications. E.g. nix edit could also use it to figure out the file to edit without even having to evaluate anything (meaning it works even if there's a syntax error!) 19:26:52
@infinisil:matrix.orginfinisilAnd position information for packages in general can be known without much evaluation19:27:12
@infinisil:matrix.orginfinisilBut yeah so just be aware that it's all internal to Nixpkgs for now. Any tools built on top of a hardcoded pkgs/by-name will eventually break.19:28:24
@infinisil:matrix.orginfinisil(maybe)19:37:36

Show newer messages


Back to Room ListRoom Version: 9