!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
28 Jul 2025
@jade_:matrix.orgjade_agreed00:21:14
@emilazy:matrix.orgemilyespecially since a big Hydra farm spends most of its time with builders under intense load00:21:19
@emilazy:matrix.orgemily(well… ideally)00:21:24
@jade_:matrix.orgjade_ backpressure is probably the correct choice here, but it does mean that theres a correct amount of blocking for logs... 00:21:38
@jade_:matrix.orgjade_just not the amount we have00:21:47
@jade_:matrix.orgjade_we also do blocking syscalls on every log line lol00:22:09
@emilazy:matrix.orgemily I think it's already true, absent Nix, that make >/dev/null is faster than make 00:22:20
@emilazy:matrix.orgemilyIIRC Ninja might do smart stuff to mitigate that00:22:29
@jade_:matrix.orgjade_plausible00:23:02
@jade_:matrix.orgjade_i think ninja also tries to stop process output from getting interleaved too bad00:23:12
@emilazy:matrix.orgemily(might be dependent on it not streaming all build logs to the terminal. but that's at least an available/default mode here, too)00:23:16
@jade_:matrix.orgjade_your daily reminder that 50% of the problems in nix are the protocol being an absolutely cooked design :(00:23:50
@just1602:systemli.orgjust1602The nix idea wasn't bad, but it would have taken another PhD thesis to properly implement the protocol 😅00:24:54
@raitobezarius:matrix.orgraitobezarius
In reply to @esperlily:matrix.org
oh hey you just merged 3765 as I was reading through it. I was going to ask, why are we still copying the file when we have no chroot? don't we just need to set NIX_SSL_CERT_FILE to point at the caFile in that case?
I'm so sorry
00:28:38
@raitobezarius:matrix.orgraitobezarius
In reply to @esperlily:matrix.org
oh hey you just merged 3765 as I was reading through it. I was going to ask, why are we still copying the file when we have no chroot? don't we just need to set NIX_SSL_CERT_FILE to point at the caFile in that case?
no chroot doesn't mean that there's no sandbox policy applied no?
00:29:08
@jade_:matrix.orgjade_okay fyi the build jobs are running as Utility (presumably alongside the daemon)01:05:05
@emilazy:matrix.orgemilymaybe the QoS needs to be higher then :)01:05:33
@emilazy:matrix.orgemily though user interactive sounds like it would be interesting 01:05:56
@emilazy:matrix.orgemilybut worth a try at least…01:05:58
@jade_:matrix.orgjade_.. whereas if i run them in a terminal via like, ninja to build a normal lix from source, it's Default01:06:07
@emilazy:matrix.orgemilyright01:06:17
@emilazy:matrix.orgemily utility is what it's meant to be 01:06:36
@emilazy:matrix.orgemilybut it does mean sacrificing perf01:06:40
@emilazy:matrix.orgemilyuser-initiated might be good to try01:06:45
@jade_:matrix.orgjade_i am wondering if the nix daemon itself should be at U-Init or Default01:08:12
@jade_:matrix.orgjade_because it is likely to be the one causing the blocking01:08:24
@jade_:matrix.orgjade_worried that might possibly starve the UI tho, so it might be at our own peril to up-schedule ourselves01:09:43
@emilazy:matrix.orgemilyyeah that's what I mean, just wrap the daemon to get it as user-initiated01:12:25
@emilazy:matrix.orgemily I don't think it's correct but it's worth trying 01:12:30
@emilazy:matrix.orgemilythe actual correct thing to do is to make sure IPC happens via Mach ports, which will automatically "donate" the QoS class of the client to processes it talks to while they service its request01:12:53

Show newer messages


Back to Room ListRoom Version: 10