!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

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

You have reached the beginning of time (for this room).


SenderMessageTime
5 Mar 2024
@nbp:mozilla.orgnbpbut we might need an update operator which works across functions, which it currently does not.14:22:33
@cab404:matrix.orgcab404 hmm, still can't add https://calendar.google.com/calendar/u/0/embed?src=b9o52fobqjak8oq8lfkhg3t0qg@group.calendar.google.com&ctz=Europe/Zurich as a calendar 15:06:24
@cab404:matrix.orgcab404 Ohh, found it https://calendar.google.com/calendar/ical/b9o52fobqjak8oq8lfkhg3t0qg%40group.calendar.google.com/public/basic.ics 15:09:31
@roberthensing:matrix.orgRobert Hensing (roberth)
In reply to @nbp:mozilla.org
Thus one would set builder = stdenv.mkDerivation; recipe = { /* mkDerivation argument */ }; and a final phase will go after the fix-point to apply the builder to it argument.

Where builder and recipe are attributes of the overridable fixpoint, I suppose?
With something like lib.encapsulate, that would be

lib.encapsulate (this: {
  builder = stdenv.mkDerivation;
  recipe = { name = "hello"; ..... };
  public = this.builder this.recipe;
})
16:41:02
@roberthensing:matrix.orgRobert Hensing (roberth)I'm not sure about the names, as a derivation builder is also the process that runs as the derivation, and recipe is a bit vague, but I suppose naming isn't the primary concern16:42:03
@roberthensing:matrix.orgRobert Hensing (roberth) Also worth noting that instead of mkDerivation it should be a function that does most of those things, but no overrideAttrs. That must be handled by whatever goes into lib.encapsulate; we'll want a helper function make this kind of package. Can't ask packagers to write the above. 16:44:05
@nbp:mozilla.orgnbp Yes, where there is no function application, and where lib.encapsulate would be called on anything which is typed as a package. 17:00:55
@jade_:matrix.org@jade_:matrix.org
In reply to @philiptaron:matrix.org
At work, we use a approve-commits model, instead of an approve-PR model, which makes the review process substantially lighter. I'm sad that GitHub doesn't let that happen, since I only get the chance to review the whole squashed PR.
this kinda exists with the various pr stacking tools like pkgs.sapling and many others but erm. what if nixpkgs had gerrit, (do not use gerrithub btw it is very broken)
17:49:00
@philiptaron:matrix.orgPhilip Taron (UTC-8)
In reply to @jade_:matrix.org
this kinda exists with the various pr stacking tools like pkgs.sapling and many others but erm. what if nixpkgs had gerrit, (do not use gerrithub btw it is very broken)
We also use and pay for Graphite but it's only OK.
17:50:38
@jade_:matrix.org@jade_:matrix.orgyeah17:51:34
@jade_:matrix.org@jade_:matrix.orgit's kinda bad lol17:51:39
@jade_:matrix.org@jade_:matrix.orgi have been working on gerrit recently on a private project and it has been nice17:52:05
@philiptaron:matrix.orgPhilip Taron (UTC-8)I've used Phabricator for the last decade and TBH I love it. https://we.phorge.it/ is the successor.17:52:36
@nscnt:matrix.org@nscnt:matrix.org left the room.18:32:57
6 Mar 2024
@sammy:cherrykitten.dev@sammy:cherrykitten.dev joined the room.19:04:52
@ktemkin:katesiria.org@ktemkin:katesiria.org joined the room.22:28:08
8 Mar 2024
@infinisil:matrix.orginfinisil@room The architecture team is being dissolved, please check out https://discourse.nixos.org/t/nixpkgs-architecture-team-conclusion-and-prospective/41020 for all the details!16:55:26

Show newer messages


Back to Room ListRoom Version: 9