| 28 Jul 2025 |
raitobezarius | and I think I'm going to tackle this at some point | 02:42:29 |
EsperLily [she/her] | that sounds like a mess | 02:42:47 |
jade_ | i think i found a bug in the nix store delete error message related to said stringification. headache inducing. | 02:42:57 |
raitobezarius | yeah | 02:43:09 |
raitobezarius | repairing chroot stores meant that i had to sprinkle a bunch of toRealPath(s) while not being certain all the time | 02:43:21 |
raitobezarius | and we have APIs that accepts only logical paths | 02:43:27 |
raitobezarius | so if you give it a physical path, it will err out | 02:43:40 |
raitobezarius | and it trickles down to the CLI | 02:43:48 |
jade_ | also what exactly CanonPath means or what constructing one means is Non Obvious | 02:43:52 |
raitobezarius | so sometimes you need to do nix $COMMAND $PHYSICAL_PATH --store $CHROOT_STORE or substitute $PHYSICAL_PATH for $LOGICAL_PATH | 02:44:15 |
raitobezarius | and there's absolutely NO documentation on which command requires what | 02:44:25 |
raitobezarius | but this needs to stop | 02:44:39 |
raitobezarius | we need to stop having to use toRealPath manually | 02:44:43 |
jade_ | yessss | 02:44:47 |
raitobezarius | type safety needs to fix that | 02:44:49 |
jade_ | also --store throwing an assert for a relative path. headache! | 02:45:09 |
jade_ | also "chroot stores" are a misnomer because they work on macOS but just cant do builds | 02:45:26 |
raitobezarius | the concept of chroot stores as a duplicated piece of code should die | 02:45:31 |
jade_ | yes | 02:45:37 |
raitobezarius | 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 | but it needs builds | 02:46:02 |
raitobezarius | so | 02:46:03 |
jade_ | yeah. i think the correct way might be to build on another store and then copy into it but bleh! | 02:46:36 |
jade_ | https://git.lix.systems/lix-project/lix/issues/937 | 02:52:08 |
jade_ | okay and on that bombshell of unfun bugs, i think i am going to go implement something that will feel magical | 02:55:14 |
jade_ |  Download image.png | 03:46:03 |
jade_ | fever dream ass feature but check this out! | 03:46:08 |
jade_ | that's right, hyperlinks in the attr set printer | 03:46:26 |
jade_ |  Download image.png | 03:47:45 |
raitobezarius | https://git.lix.systems/lix-project/lix/issues/907 | 03:47:49 |