!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
7 Feb 2026
@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
@raitobezarius:matrix.orgraitobezarius i think we may remove it only once we have hit a blocker due to it OR we have replaced it 20:24:15
@raitobezarius:matrix.orgraitobezarius the full core team is usually at https://zulip.lix.systems/#narrow/channel/9-Store to discuss these topics on higher bandwidth 20:24:57
@lisanna-dettwyler:matrix.orgLisannaLike the linked issue mentions, I've considered reimplementing this as a custom store plugin, but that presents complications for this particular use-case. I think you'd have to manually retrieve the build result from the custom store after the build completes, because it won't be copied back to the local store automatically. Unless the remote's local store is on a shared filesystem, it would need to keep track of which node has which build result, which would be hard to do in-between invocations, potentially causing rebuilds or not being able to find the already built derivation.20:42:46
@raitobezarius:matrix.orgraitobezariusyeah, a store plugin is highly non trivial for what you are doing21:44:45
@raitobezarius:matrix.orgraitobezariusChanges performed23:14:06
@k900:0upti.meK900Someone do the dark souls image macro thing23:14:55
@k900:0upti.meK900I'm on my phone23:14:58
@raitobezarius:matrix.orgraitobezariusclipboard.png
Download clipboard.png
23:15:21
@k900:0upti.meK900 Thank 23:19:58

There are no newer messages yet.


Back to Room ListRoom Version: 10