!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
13 Mar 2026
@yuka:yuka.devYureka (she/her)However the build is failing without an obvious error message10:11:05
@yuka:yuka.devYureka (she/her)

I bisected it to 357ee01002bc31229f444dc15fab6abf64f372c6

build: attempt to normalize Rust handling to support static linking

10:11:13
@yuka:yuka.devYureka (she/her)I already added rust-cbindgen10:11:38
@yuka:yuka.devYureka (she/her)I don't see any other obvious changes to the packaging10:11:45
@piegames:flausch.socialpiegames
In reply to @yuka:yuka.dev

I bisected it to 357ee01002bc31229f444dc15fab6abf64f372c6

build: attempt to normalize Rust handling to support static linking

Wasn't that the so unification commit?
10:32:18
@piegames:flausch.socialpiegamesIf so, probably best to ask again on Zulip where our dragon can see it10:32:44
@aloisw:kde.orgaloiswI see a bunch of the stuff from https://github.com/NixOS/nixpkgs/pull/480992 missing, but that should only affect tests.11:17:38
@lisanna-dettwyler:matrix.orgLisannaHello! Wanted to drop a line that I will be mentoring a GSoC project to refactor the Nix daemon's processConnection interface to make it usable by programs linking against libnix-store, possibly using gRPC (like Lix's build hook). I was curious what the Lix status was of converting the daemon to also using gRPC, in case we're at risk of duplicating effort.13:43:46
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)We're not going to use gRPC in Lix13:44:02
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)We're using already Cap'n'Proto13:44:07
@lisanna-dettwyler:matrix.orgLisannaAh, OK, I must have confused them13:44:21
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) https://git.lix.systems/lix-project/lix/src/commit/5346b2bc6884ab71c1d0fc858f3b11484d01cbfb/lix/libstore/build/hook-instance.capnp 13:44:36
@lisanna-dettwyler:matrix.orgLisannaok, so I'13:45:22
@lisanna-dettwyler:matrix.orgLisanna* ok, so I'll rephrase then :p are there plans to extend capn proto to the daemon? Has that already started?13:45:41
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)This is going to start imminently in 2.9613:45:52
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)Lix 2.94 made hook instance capnp13:45:57
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)Lix 2.95 used Cap'n'Proto for exchanging settings between libexec helpers and the daemon13:46:07
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)Lix 2.96 will offer daemon sockets with multi protocol support13:46:21
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)Lix 2.95 already has the inherent capability13:46:27
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) https://gerrit.lix.systems/c/lix/+/4951 13:46:36
@lisanna-dettwyler:matrix.orgLisannaok, thank you!13:47:51
@hexa:lossy.networkhexa sad that you'll be spending time for cppnix instead of lix then 😉 14:18:26
@piegames:flausch.socialpiegamesThat's not the sad thing, we're not doing software tribalism here. The sad thing is the usage of gRPC, which isn't the best technical option, and also will make CppNix and Lix fairly daemon-incompatible long-term14:41:54
@piegames:flausch.socialpiegamesIIRC snix is using gRPC, and it wasn't going too well for them?14:42:13
@flokli:matrix.orgflokliwe're using gRPC if you cross the process boundary14:42:50
@flokli:matrix.orgflokliand it's working fine-ish?14:42:55
@piegames:flausch.socialpiegamesOr am I misremembering something here14:43:02
@flokli:matrix.orgfloklithere's a few known perf issues due to how to the blob/chunk substitution doing more roundtrips than necessary, but that's more of a "we need to refactor the code at some point" than a gRPC-issue per se14:44:00
@griff79:matrix.orggriffAnd as long as the data flowing is compatible making a converter from gRPC to Capnp or even to old shitty daemon protocol should be possible14:45:51
@flokli:matrix.orgflokliwe picked gRPC over captnproto because it's generally better supported across various programming languages, and it felt like captnproto still requires you to be on your own for a lot of things.14:45:54

Show newer messages


Back to Room ListRoom Version: 10