!9IQChSjwSHXPPWTa:lix.systems

Lix

1138 Members
Lix user channel. Feel free to discuss on-topic issues here and give each other help. For matrix.to links to the rest of the Lix channels, see: https://wiki.lix.systems/books/lix-organisation/page/matrix-rooms314 Servers

Load older messages


SenderMessageTime
9 Apr 2026
@piegames:flausch.socialpiegamesThe status is please hold the line17:47:14
@piegames:flausch.socialpiegamesShould be all set up within the next 6 months17:47:27
@piegames:flausch.socialpiegamesCurrent work status is we have some internal protocols running on Capnproto already, but the main protocols need an interop story and everything's FUBAR and the person driving this got a bit burnt working on it and is currently taking a little break to recover.17:49:25
@blitz:chat.x86.lolblitzThat's fair18:00:51
@blitz:chat.x86.lolblitzSo shelling out it is 😅18:01:15
@yuka:yuka.devYureka (she/her)you could also directly implement the existing nix daemon protocol18:02:11
@yuka:yuka.devYureka (she/her)or whatever version of it18:02:41
@yuka:yuka.devYureka (she/her)https://codeberg.org/gorgon/gorgon/src/branch/main/nix-daemon18:04:56
@yuka:yuka.devYureka (she/her)https://git.snix.dev/snix/snix/src/branch/canon/snix/nix-daemon18:04:58
@yuka:yuka.devYureka (she/her)here are two implementations of it in rust. neither of them support getting NARs out of the nix store but the author of the gorgon one wasn't opposed to adding that18:05:26
@yuka:yuka.devYureka (she/her)Redacted or Malformed Event18:05:38
@blitz:chat.x86.lolblitz Will check. 18:21:00
@neobrain:matrix.orgneobrainIs there a recommended way of implementing nix-based tooling? For example, say I wanted to generate and build a nix expression without relying on cppnix or lix specifically being installed on the system. Presumably talking to the daemon would be preferred for that? And if yes, what's the typical communication protocol? (Do I pull in a library or do I just, like, open a Unix socket or something?)18:36:35
@k900:0upti.meK900The daemon doesn't do eval18:43:49
@k900:0upti.meK900Only the clients do18:43:53
@neobrain:matrix.orgneobrain oh right... so I would have to pull in something like snix to evaluate the expression, and then request the daemon to realize the evaluated expression? And creating an out-link (with a GC root) would be a client-task again presumably that I just can't really abstract over at all?
(Trying to get my terminology in line here)
18:58:32
@neobrain:matrix.orgneobrainInteresting, looking at the unstable nix C API, there's apparently a plugin interface too. That might be suitable for the particular type of tooling I'm looking into atm19:02:38
@piegames:flausch.socialpiegamesI think so, yes19:09:39
@k900:0upti.meK900 Note that the snix evaluator can't evaluate nixpkgs fully correctly still afaik 19:14:53
@neobrain:matrix.orgneobrainmhm relying on the command-line interface doesn't sound so bad now after all :(19:33:11
@rosssmyth:matrix.org@rosssmyth:matrix.orgI think it can eval some subset of nixpkgs. I remember someone building firefox and the Linux kernel successfully 19:50:22
@rosssmyth:matrix.org@rosssmyth:matrix.orgUnsure what you are doing exactly, but you can check this out https://github.com/Rucadi/njq19:51:54
@neobrain:matrix.orgneobrainNice, will take a look thanks! I was mainly curious about the options. For the specific tool I have in mind atm it seems just using the CLI is best20:00:48
@neobrain:matrix.orgneobrain (the expression to evaluate is basically just pkgs.dockerTools.pullImage bundled with a shell script, so not exactly worth pulling in an entire evaluator for :D) 20:02:46
@lisanna-dettwyler:matrix.orgLisanna changed their profile picture.21:59:37
@lisanna-dettwyler:matrix.orgLisanna changed their profile picture.22:00:54
@lisanna-dettwyler:matrix.orgLisanna changed their profile picture.22:02:04
@lisanna-dettwyler:matrix.orgLisanna changed their profile picture.22:12:21
@nikstur:matrix.orgniksturSuper exited for this! I think this will be the game changer for building out Remote Builders and CI23:03:06
@emilazy:matrix.orgemily what's the current most least uncursed way of going from a build's PID/UID to the .drv it's building? 23:07:58

Show newer messages


Back to Room ListRoom Version: 10