!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.139 Servers

Load older messages


SenderMessageTime
28 Jul 2025
@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.orgraitobezariusyeah02:43:09
@raitobezarius:matrix.orgraitobezariusrepairing 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 and we have APIs that accepts only logical paths 02:43:27
@raitobezarius:matrix.orgraitobezariusso if you give it a physical path, it will err out02:43:40
@raitobezarius:matrix.orgraitobezariusand 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.orgraitobezariusso sometimes you need to do nix $COMMAND $PHYSICAL_PATH --store $CHROOT_STORE or substitute $PHYSICAL_PATH for $LOGICAL_PATH02:44:15
@raitobezarius:matrix.orgraitobezariusand there's absolutely NO documentation on which command requires what02:44:25
@raitobezarius:matrix.orgraitobezariusbut this needs to stop02:44:39
@raitobezarius:matrix.orgraitobezariuswe need to stop having to use toRealPath manually02:44:43
@jade_:matrix.orgjade_yessss02:44:47
@raitobezarius:matrix.orgraitobezariustype 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.orgraitobezariusthe concept of chroot stores as a duplicated piece of code should die02:45:31
@jade_:matrix.orgjade_yes02:45:37
@raitobezarius:matrix.orgraitobezarius
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.orgraitobezariusbut it needs builds02:46:02
@raitobezarius:matrix.orgraitobezariusso02: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
@jade_:matrix.orgjade_fever dream ass feature but check this out!03:46:08
@jade_:matrix.orgjade_that's right, hyperlinks in the attr set printer03:46:26
@jade_:matrix.orgjade_image.png
Download image.png
03:47:45
@raitobezarius:matrix.orgraitobezarius https://git.lix.systems/lix-project/lix/issues/907 03:47:49
@jade_:matrix.orgjade_this is maybe an even more fun example03:47:51
@raitobezarius:matrix.orgraitobezariusif someone on darwin has some time03:47:52

Show newer messages


Back to Room ListRoom Version: 10