!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
2 Aug 2025
@charles:computer.surgeryCharlesnot yet, sorry, i'll try to get to it today15:24:30
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
the bootstrap was successful and it seems to eliminate the majority of build directory references in built binaries. haven't yet got to testing Rust and there are things like Python and other parts of LLVM that hardcode random build directory paths regardless that will need fixing up. they are already non-reproducible in the presence of concurrency anyway though, I do not think further Nixpkgs fixes on that front need to block things
So you confirm this doesn't suddenly explode nixpkgs though
15:24:54
@raitobezarius:matrix.orgraitobezariuswhich is great to hear15:24:56
@emilazy:matrix.orgemilyespecially since I don't know if they will get backported to 25.05, so just accepting that it will expose more reproducibility issues in Nixpkgs is part of the tradeoff regardless15:24:57
@emilazy:matrix.orgemilyyes, I'm running the stack and building lots of stuff15:25:13
@emilazy:matrix.orgemilyincluding https://gerrit.lix.systems/c/lix/+/3852/515:25:28
@raitobezarius:matrix.orgraitobezarius sandbox = true in your case right? 15:25:36
@emilazy:matrix.orgemily I was a little nervous the ENOTSUP may not cover everything in practice but so far it seems to 15:25:40
@emilazy:matrix.orgemilyyeah15:25:44
@raitobezarius:matrix.orgraitobezariusvery cool15:25:52
@raitobezarius:matrix.orgraitobezariusthank you so much for the chain!15:26:11
@emilazy:matrix.orgemilyI think the fixes will not substantially change the shape of the chain, so it's probably reviewable as-is, but I believe there are still one or two review comments I did not address anyway15:27:32
@raitobezarius:matrix.orgraitobezariusI rebased it and reran CI15:27:52
@emilazy:matrix.orgemilyI think a last-minute syntax error or something snuck in so CI results might not be that helpful past a certain point in the chain right now. I'll verify that it passes tests on Linux and Darwin and works on my machine before pushing out revisions though15:28:53
@emilazy:matrix.orgemilyI dropped it to fix CI once it became clear I had broken that15:29:12
@raitobezarius:matrix.orgraitobezariusOkie dokie15:29:18
@raitobezarius:matrix.orgraitobezarius emily did a pass and +2ed everything I could reasonably do 15:45:51
@raitobezarius:matrix.orgraitobezariusI will leave the base32 helpers to other folks15:45:56
@raitobezarius:matrix.orgraitobezariusI think I will check your chain and look if I can easily add the symlink feature15:46:06
@raitobezarius:matrix.orgraitobezarius(and also test it on Linux)15:46:15
@raitobezarius:matrix.orgraitobezarius(I will fix the compile errors locally)15:46:55
@emilazy:matrix.orgemilyI have been testing Linux too, fwiw15:50:08
@emilazy:matrix.orgemilythough not as extensively. there are test failures there I need to deal with15:50:17
@emilazy:matrix.orgemilyI am increasingly of the opinion that it is unwarranted complexity. we already print out a note naming the build directory on failure15:50:36
@emilazy:matrix.orgemilyit is just easy to miss and doesn't identify the failing derivation15:50:45
@emilazy:matrix.orgemilyIMO making it attached to the error of the derivation failing (and therefore more prominent) would solve the UX case with fewer moving parts15:51:09
@emilazy:matrix.orgemily

right now you get e.g.

note: keeping build directory '/nix/var/nix/b/3qxda0xkh4wllkxh182kvrza5n'
error: builder for '/nix/store/r0729886rq9nvzsngj2dnwwdl5q5dcq0-test.drv' failed with exit code 1;
       last 1 log lines:
       > test
       For full logs, run 'nix log /nix/store/r0729886rq9nvzsngj2dnwwdl5q5dcq0-test.drv'.
15:51:50
@emilazy:matrix.orgemilywe should simply list the retained build directory in the "For full logs" portion of the message15:52:00
@raitobezarius:matrix.orgraitobezarius what happened to my nix 15:52:02
@raitobezarius:matrix.orgraitobezarius
In reply to @emilazy:matrix.org
we should simply list the retained build directory in the "For full logs" portion of the message
yeah you're right
15:52:14

Show newer messages


Back to Room ListRoom Version: 10