| 5 Mar 2024 |
nbp | but we might need an update operator which works across functions, which it currently does not. | 14:22:33 |
cab404 | 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 | Ohh, found it https://calendar.google.com/calendar/ical/b9o52fobqjak8oq8lfkhg3t0qg%40group.calendar.google.com/public/basic.ics | 15:09:31 |
Robert 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 |
Robert 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 concern | 16:42:03 |
Robert 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 | 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 | 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 |
Philip 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 | yeah | 17:51:34 |
@jade_:matrix.org | it's kinda bad lol | 17:51:39 |
@jade_:matrix.org | i have been working on gerrit recently on a private project and it has been nice | 17:52:05 |
Philip 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 left the room. | 18:32:57 |
| 6 Mar 2024 |
| @sammy:cherrykitten.dev joined the room. | 19:04:52 |
| @ktemkin:katesiria.org joined the room. | 22:28:08 |
| 8 Mar 2024 |
infinisil | @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 |