!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

232 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
27 Mar 2023
@toonn:matrix.orgtoonn I just want to make sure I'm following the discussion. 16:57:01
@infinisil:matrix.orginfinisil toonn: Oh yeah it's the current module system used for NixOS 16:59:34
@nbp:mozilla.orgnbp
In reply to @infinisil:matrix.org
nbp: Wait in your proposal, can SOS be used outside of Nixpkgs by third-parties? Iirc it can't
Nixpkgs based on S.O.S. can be used by third-parties.
However, it only solve the overriding issues within the Nixpkgs fix-point, i.e. if you want to override Nixpkgs packages, you would either use an overlay to benefit from S.O.S., or use the old way.
16:59:34
@nbp:mozilla.orgnbp
In reply to @infinisil:matrix.org
If we want to consider doing SOS instead of a module system to solve these problem, then SOS needs to be at least better than the module system at solving these problems.
A module system solves a different problem which is either the package configuration and/or the package setup. These problems are orthogonal to S.O.S., and should probably be evaluated separately.
17:01:48
@infinisil:matrix.orginfinisil nbp: I see, I'll definitely take another look at SOS and I might bring it up in the working group. I added it in https://discourse.nixos.org/t/working-group-member-search-module-system-for-packages/26574#previous-work-3 17:03:59
@nbp:mozilla.orgnbpThus this would not be instead, but in addition to. Unless you want a single module system for Nixpkgs, instead of having one for each package. The problem of having a single module system for the entire Nixpkgs is that you are seting up the ground for something Nixpkgs kind of deliberately avoided, which is the combinatorial complexity of configurations. In any cases, such module system would be easier to add after S.O.S.17:04:20
@nbp:mozilla.orgnbp * Thus this would not be instead, but in addition to. Unless you want a single module system for Nixpkgs, instead of having one for each package. The problem of having a single module system for the entire Nixpkgs is that you are seting up the ground for something Nixpkgs kind of deliberately avoided, which is the complexity of configurations. In any cases, such module system would be easier to add after S.O.S.17:06:04
@infinisil:matrix.orginfinisil nbp: I kind of see what you mean yeah, the module system (in its current form) doesn't seem to solve the problem very well 17:11:40
@infinisil:matrix.orginfinisil * nbp: I kind of see what you mean yeah, the module system (in its current form) doesn't seem to solve the problem of configs very well 17:11:51
@nbp:mozilla.orgnbpThe Module System does not solve any constraints, nor configure anything. It only combine configurations. What most people expect from package managers is to choose between conflicting versions, which Nixpkgs avoided so far, or these have been hard-coded using some of the override functions and multiple installs from Nix.17:17:08
@nbp:mozilla.orgnbpSolving constraints between packages configuration is the source of the complexity I had mentioned previously, behind having a single module system for all of Nixpkgs.17:18:31
@nbp:mozilla.orgnbpIf you do not plan on solving constraints, then you are going to have assertions or conflicting configuration which are left to the user to resolve.17:19:23
29 Mar 2023
@adrielus:matrix.orgprescientmoon joined the room.13:25:50
@snowytrees:matrix.orgsnowytrees Reading nbp 's comment (https://github.com/NixOS/rfcs/pull/3#issuecomment-370151582) in the RFC after eelco introduced his configurations idea (https://gist.github.com/edolstra/29ce9d8ea399b703a7023073b0dbc00d) cleared up a lot for me how you can build on SOS. Dropping the link because it was pretty deep in the comments 15:22:36
2 Apr 2023
@noob_tea:matrix.orgteaHas something like doing nixpkgs-review on github actions been tried out yet?14:41:59
@noob_tea:matrix.orgteawould speed up time to merge and complexity by a lot14:42:10
@qyliss:fairydust.spaceAlyssa Rossthere's nowhere near enough capacity, is there?14:42:28
@qyliss:fairydust.spaceAlyssa Rossi feel like somebody was talking about this in another room the other day 14:42:45
@noob_tea:matrix.orgtea
In reply to @qyliss:fairydust.space
there's nowhere near enough capacity, is there?
capacity =?
14:43:08
@qyliss:fairydust.spaceAlyssa Rosswait it was you who was having this conversation14:43:25
@noob_tea:matrix.orgteawhere?14:44:08
@qyliss:fairydust.spaceAlyssa Rossin #tvl14:44:19
@qyliss:fairydust.spaceAlyssa Ross2023-03-2614:44:24
@noob_tea:matrix.orgteathis is for nixpkgs-review and not nixpkgs as a whole14:44:28
@qyliss:fairydust.spaceAlyssa Rossassuming you're tea|m14:44:28
@noob_tea:matrix.orgtea yes14:44:32
@noob_tea:matrix.orgteathere is a limit of 20 concurrent jobs which would get really jammed14:44:48
@noob_tea:matrix.orgteaso maybe we'd need to filter somehow14:44:55
@qyliss:fairydust.spaceAlyssa Rossyeah14:45:06
@qyliss:fairydust.spaceAlyssa Rossnixpkgs-review is often huge14:45:11

Show newer messages


Back to Room ListRoom Version: 9