!9IQChSjwSHXPPWTa:lix.systems

Lix

1135 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-rooms313 Servers

Load older messages


SenderMessageTime
9 Apr 2026
@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
@emilazy:matrix.orgemily picking the .drv out of temproots is my current best guess 23:13:42
@lisanna-dettwyler:matrix.orgLisanna changed their profile picture.23:14:48
@neil.mayhew:matrix.orgNeil Mayhew OK, that makes sense. There's no point in trying to make cachix use the lix-store library. However, what would happen if I use the current cachix (linked with nix-store) on a system that's using Lix as the nix-daemon? Would that break too? 23:48:58
10 Apr 2026
@kfiz:matrix.sopado.dekfizMaybe, I only just learned that lix-daemon is only compatible with v1.35 of the nix-daemon protocol. If cachix relies on newer features this might break.00:47:26
@neil.mayhew:matrix.orgNeil MayhewThanks, that's helpful and gives me something concrete to check00:48:30
@kfiz:matrix.sopado.dekfizYour welcome. see link to source from an earlier post.00:51:57
@lisanna-dettwyler:matrix.orgLisannaIf you're planning anything in the remote builder space, I'd be very interested to know btw ^^ I've been doing work on improving remote building in cppnix so always interested in seeing what other use cases people have01:33:59
@lisanna-dettwyler:matrix.orgLisannaalso, if y'all would like any help on that effort, I definitely have the time, unless you think it would be harder to split the work01:41:57

Show newer messages


Back to Room ListRoom Version: 10