Nixpkgs Architecture Team | 228 Members | |
| https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture | 53 Servers |
| Sender | Message | Time |
|---|---|---|
| 24 Nov 2023 | ||
| * FWIW, In Nickel, currently you can't merge a contract and a number directlylike
Merge will be applied recursively and combine
The difference is that the second form is more restrictive: it says "attach a contract For example:
| 09:30:53 | |
The contracts-as-normal-values is also nice to build up new contracts using usual operations, including merging itself. For example, you can write let Combined = Derivation & OtherSpecificContract & {has_some_other_specific_field | String}. It gives you a simple form of "inheritance" (the proper term would be mixins, I think) | 09:39:38 | |
| * FWIW, In Nickel, currently you can't merge a contract and a number directlylike
Merge will be applied recursively and combine
The difference is that the second form is more restrictive: it says "attach a contract For example:
| 09:52:04 | |
| 28 Nov 2023 | ||
| @room: The next ~monthly meeting will take place in 1 hour! There's not a lot to discuss from my side, please don't hesitate to add topics you'd like to talk about to the meeting notes agenda. Meeting link | 13:04:15 | |
| Here is the reason why I think a module system (not only "the" module system) is not suited for the top-level for Nixpkgs, as opposed to using it for the configuration of packages. A module system is about squashing additional non-conflicting changes and makes an exception for ordering with To make it work, one would have to add extra semantic, such as the order of modules, to inject a default ordering / priorities into a module system used in the context of Nixpkgs. Thus, the modules would no longer be position independent. | 13:32:42 | |
| they are? | 13:51:30 | |
| As far as I understand, the module list order determines the merging order | 13:51:43 | |
| like, for example, if you have a list that merges its element via append, the order of module imports will determine which elements are first in the resulting list | 13:56:57 | |
| Robert Hensing (roberth): tomberek: Growpotkin: John Ericson: DavHau: phaer: Meeting time: https://meet.jit.si/nixpkgs-architecture | 14:01:53 | |
| https://github.com/nixpkgs-architecture/issues/issues/24 | 15:08:34 | |
| Profpatsch: Well given that the order is left unspecified such that each module can import in which ever order, the serialized DAG is unknown to the end user. | 18:23:11 | |
| Within a module, you have no idea which of the import came before, nor which will come after, without having a global knowledge. | 18:23:56 | |
| Whereas with override, you are supposed to master this fact to be in control of the desired output. | 18:24:37 | |
| Oh shit sorry was afk on vacation and asleep then | 19:24:44 | |
| phaer: Did all the removal steps, thanks for joining the team, even just for a brief period! | 21:32:31 | |
| 29 Nov 2023 | ||
| nbp: you are right of course | 09:11:39 | |
| I don’t think the module system is a good fit for nixpkgs either, if just because of the slowness | 09:11:55 | |
| 1 Dec 2023 | ||
| 19:41:52 | ||
| 4 Dec 2023 | ||
| 20:56:47 | ||
| 5 Dec 2023 | ||
| 00:38:06 | ||
| 19:14:19 | ||
| 6 Dec 2023 | ||
| Making some progress with RFC 140: https://github.com/NixOS/nixpkgs/pull/272395 (still a draft, not ready for review, but the description gives the story) | 02:38:00 | |
infinisil: I love pkgs/by-name and I write Rust at work. I'd be glad to be code reviewer when you' | 05:01:31 | |
* infinisil: I love pkgs/by-name and I write Rust at work. I'd be glad to be code reviewer when you're ready. | 05:01:35 | |
| Philip Taron: Oh awesome, that would be very welcome, thanks! I'll mark it as ready to review when done :) | 05:12:01 | |
| 12 Dec 2023 | ||
| Nothing concrete, but just wanted to point out this issue: https://github.com/NixOS/nixpkgs/issues/273534 | 17:43:46 | |
In reply to @infinisil:matrix.orgWe keep seeing this. And the current flake usage makes this worse. I opened: https://github.com/nixpkgs-architecture/issues/issues/25 , still needs work and discussion. | 17:49:48 | |
| Braindump of an actually feasible module-like packaging method for Nixpkgs, if you're interested. https://github.com/NixOS/nixpkgs/issues/273815 | 19:46:52 | |
| Found an unfinished sentence starting with "This should not include redundant (and slow)" | 22:29:32 | |
| Thanks. Edited. That was going to be about mkDerivation package attr stuff and multi-outputs, but the latter got its own section. | 23:06:06 | |