!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
26 Jul 2025
@emilazy:matrix.orgemilymuch as I would like to put work in21:09:46
27 Jul 2025
@aloisw:julia0815.dealoisw
In reply to @raitobezarius:matrix.org
realistically, how often CA certificates changes mid-builds?
I think we specifically started copying it to prevent this from causing trouble?
05:00:45
@opna2608:matrix.orgPuna joined the room.06:59:20
@gilice:matrix.orggiliceDownload console.patch10:10:18
@gilice:matrix.orggilice hi, random guy chiming in here, I got the console output of your default.nix to build.
here's a patch:
10:10:22
@opna2608:matrix.orgPuna Hi!
I see there's a host_cpu variable in meson.build where some fixups are being done to turn Meson's cpu_family() results to values that Nixpkgs expects for system parsing. Is that variable actually wired up to anything invisibly, or is it just completely unused right now?
I tried to add more fixups to it for POWER CPUs, but the system string stays wrong. Only if i change the host_system below it to actually use it do I get a correct system name printed.
11:52:13
@qyriad:katesiria.orgQyriad It determines the default builtins.currentSystem value Lix is compiled with, I believe 11:53:17
@opna2608:matrix.orgPuna I assume it should, but host_system is what's being used for that, and that just used cpu_family() 11:54:20
@qyriad:katesiria.orgQyriad Oh I see what you mean now 11:54:40
@qyriad:katesiria.orgQyriad that's a good question then, I'm not suredon' 11:54:51
@qyriad:katesiria.orgQyriad * that's a good question then, I'm not sure 11:54:56
@opna2608:matrix.orgPuna i think I submitted a theoretical fix for the POWER names? not super familiar with the gerrit workflow yet.
if host_cpu is supposed to be used there, should i make that a separate changelist thingy?
12:33:39
@spacekookie:fairydust.spacekookie joined the room.13:40:00
@raitobezarius:matrix.orgraitobezarius
In reply to @aloisw:julia0815.de
I think we specifically started copying it to prevent this from causing trouble?
do you remember which commit / which thing introduced that?
14:27:51
@raitobezarius:matrix.orgraitobezarius moved back to the non optimized version in https://gerrit.lix.systems/c/lix/+/3765/4?tab=comments 14:27:56
@raitobezarius:matrix.orgraitobezariusand added a CL for the optimization14:28:00
@raitobezarius:matrix.orgraitobezariuswith a FIXME for defending against UDS attacks14:28:04
@aloisw:julia0815.dealoisw https://git.lix.systems/lix-project/lix/commit/cf756fdf3c1a804af726703a12ed2990ad6c2639 14:30:02
@aloisw:julia0815.dealoisw According to the commit message here the motivation was avoiding broken symlinks, but the linked commit doing the same for resolv.conf also cites changing file. 14:30:54
@emilazy:matrix.orgemilyI feel like the store thing would achieve a comparable optimization across platforms while solving any UDS / file changing / etc. worries (but I should stop saying this because I suspect there is complexity to arranging the store copy that i'm just missing :) )15:32:07
@emilazy:matrix.orgemilycopying all the time sounds great to me if Linux has to do it too though :P15:32:24
@emilazy:matrix.orgemilyhow do you select a range of lines to comment on in Gerrit?15:58:20
@emilazy:matrix.orgemilyI feel like I forget and have to remember how every time15:58:28
@emilazy:matrix.orgemilyah you select in the code rather than the gutter15:58:37
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
copying all the time sounds great to me if Linux has to do it too though :P
i mean, the optimization is dangerous for now :D
16:01:33
@raitobezarius:matrix.orgraitobezarius
In reply to @aloisw:julia0815.de
According to the commit message here the motivation was avoiding broken symlinks, but the linked commit doing the same for resolv.conf also cites changing file.
with my current proposal, bindPath would follow the symlink I believe
16:02:37
@raitobezarius:matrix.orgraitobezariusso broken symlinks would surface as an exception and break the setup16:02:44
@raitobezarius:matrix.orgraitobezariusbindPath(source symlink, target, {.followSymlinks = true}) degrades to copyFile(source, target, {.followSymlinks = true}) actually16:03:12
@raitobezarius:matrix.orgraitobezarius(with the createDirs in addition on the base dir)16:03:18
@raitobezarius:matrix.orgraitobezariusbut ok for the changing files16:03:38

Show newer messages


Back to Room ListRoom Version: 10