!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

451 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.148 Servers

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


SenderMessageTime
7 Feb 2026
@raitobezarius:matrix.orgraitobezariusYep, we have been following your project, super interesting20:04:47
@raitobezarius:matrix.orgraitobezariusBut we would like to make it possible via proper RPC wires than taking over the entire build-hook :D20:05:07
@raitobezarius:matrix.orgraitobezarius(we being the Lix core team)20:05:50
@lisanna-dettwyler:matrix.orgLisannaHow are you envisioning that working? Will there be a different nix.conf setting for hooks that speak the RPC protocol?20:06:35
@raitobezarius:matrix.orgraitobezariusIf you are familiar with how Snix works, we would fission the whole build subsystem into its own RPC boundary, so someone could tap into a library to spawn a build RPC component and bring their own scheduler logic20:07:18
@raitobezarius:matrix.orgraitobezariusIt's already kinda possible to do something akin that by proxying Nix daemon protocol20:07:34
@raitobezarius:matrix.orgraitobezarius* It's already kinda possible to do something akin to that by proxying Nix daemon protocol20:07:43
@raitobezarius:matrix.orgraitobezarius(we would also use that work to enable better out-of-the-box scheduler logic, remote building and more)20:08:04
@raitobezarius:matrix.orgraitobezariusThe remote building hook has been already subject to RPC-ification with Cap'n'Proto, so we are working towards slowly confirming our expectations for this architecture20:08:40
@lisanna-dettwyler:matrix.orgLisannaI will take a look at the Snix implementation, I have not looked at it at all yet20:09:18
@raitobezarius:matrix.orgraitobezarius https://snix.dev/docs/components/overview/ 20:09:29
@raitobezarius:matrix.orgraitobezariusThey have cute figures20:09:31
@raitobezarius:matrix.orgraitobezarius https://snix.dev/docs/components/build/protocol/ is relevant too 20:09:39
@lisanna-dettwyler:matrix.orgLisanna^-^20:09:39
@lisanna-dettwyler:matrix.orgLisannaso you would launch your custom builder as a standalone program, and it would then register itself as a builder through a library call? rather than being launched by the Lix cli or daemon directly?20:18:19
@raitobezarius:matrix.orgraitobezariusthe deployment story is not totally hammered down, but a daemon frontend could receive build daemons URIs (remote or local), once you run a lix command that makes use of build, they would be sent to that daemon via RPC20:19:19
@raitobezarius:matrix.orgraitobezariusbut yeah, in that context, Lix CLI or daemon wouldn't execve() a build component20:19:52
@raitobezarius:matrix.orgraitobezariusit would be delegated20:19:55
@lisanna-dettwyler:matrix.orgLisannaalright20:20:02
@lisanna-dettwyler:matrix.orgLisannaI'll keep watch for progress on this front, and see about adding a mode to my program for this kind of usage20:21:15
@lisanna-dettwyler:matrix.orgLisannais there an issue tracking it I can follow?20:22:28
@raitobezarius:matrix.orgraitobezarius https://git.lix.systems/lix-project/lix/issues/911 20:23:49
@raitobezarius:matrix.orgraitobezariusfor build-hook20:23:53

Show newer messages


Back to Room ListRoom Version: 10