!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

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

Load older messages


SenderMessageTime
28 Jul 2025
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)i mean the technical debt in this codebase is what it is02:41:28
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)my biggest nightmares right now are really the StorePath class02:41:55
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and how it goes from StorePath to string02:42:01
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and what a disaster it is wrt to chroot, not chroot, sandbox, not sandbox, linux, not linux, etc.02:42:12
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and I think I'm going to tackle this at some point02:42:29
@esperlily:matrix.orgEsperLily [she/her]that sounds like a mess02:42:47
@jade_:matrix.orgjade_i think i found a bug in the nix store delete error message related to said stringification. headache inducing.02:42:57
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)yeah02:43:09
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)repairing chroot stores meant that i had to sprinkle a bunch of toRealPath(s) while not being certain all the time02:43:21
@raitobezarius:matrix.orgraitobezarius (DECT: 7248) and we have APIs that accepts only logical paths 02:43:27
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)so if you give it a physical path, it will err out02:43:40
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and it trickles down to the CLI02:43:48
@jade_:matrix.orgjade_also what exactly CanonPath means or what constructing one means is Non Obvious02:43:52
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)so sometimes you need to do nix $COMMAND $PHYSICAL_PATH --store $CHROOT_STORE or substitute $PHYSICAL_PATH for $LOGICAL_PATH02:44:15
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)and there's absolutely NO documentation on which command requires what02:44:25
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)but this needs to stop02:44:39
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)we need to stop having to use toRealPath manually02:44:43
@jade_:matrix.orgjade_yessss02:44:47
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)type safety needs to fix that02:44:49
@jade_:matrix.orgjade_ also --store throwing an assert for a relative path. headache! 02:45:09
@jade_:matrix.orgjade_also "chroot stores" are a misnomer because they work on macOS but just cant do builds02:45:26
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)the concept of chroot stores as a duplicated piece of code should die02:45:31
@jade_:matrix.orgjade_yes02:45:37
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)
In reply to @jade_:matrix.org
also "chroot stores" are a misnomer because they work on macOS but just cant do builds
which is very confusing because i tried to test repair for chroot stores on macOS
02:45:57
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)but it needs builds02:46:02
@raitobezarius:matrix.orgraitobezarius (DECT: 7248)so02:46:03
@jade_:matrix.orgjade_yeah. i think the correct way might be to build on another store and then copy into it but bleh!02:46:36
@jade_:matrix.orgjade_https://git.lix.systems/lix-project/lix/issues/93702:52:08
@jade_:matrix.orgjade_okay and on that bombshell of unfun bugs, i think i am going to go implement something that will feel magical02:55:14
@jade_:matrix.orgjade_image.png
Download image.png
03:46:03

Show newer messages


Back to Room ListRoom Version: 10