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

You have reached the beginning of time (for this room).


SenderMessageTime
2 Aug 2025
@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
@raitobezarius:matrix.orgraitobezariusi think this is a much better idea15:52:17
@emilazy:matrix.orgemily (I didn't notice the note: for a long while previously before trying to test this because it doesn't even have any colour or anything) 15:52:40
@emilazy:matrix.orgemilybtw it would also be really nice if the log command was on its own line (and so the build directory too I guess), so you could more easily select the whole line and paste it15:53:37
@emilazy:matrix.orgemilyI spend too much of my life dragging the mouse over only the right portion of the message15:53:57
@emilazy:matrix.orgemily

something like

       For full logs, run:
           nix log /nix/store/r0729886rq9nvzsngj2dnwwdl5q5dcq0-test.drv
       The build directory has been kept in:
           /nix/var/nix/b/3qxda0xkh4wllkxh182kvrza5n
15:55:15
@emilazy:matrix.orgemily(or maybe even "To inspect the build directory: … cd /nix/var/nix/b/…")15:55:31
@raitobezarius:matrix.orgraitobezariusdo you mind me pushing fixes to your chain?15:55:42
@raitobezarius:matrix.orgraitobezariusthe compile stuff i mean15:56:09
@emilazy:matrix.orgemilyIIRC I have unpushed WIP amendments already, so workflow-wise it's probably easier for me if you just leave suggestions (but if you want to get the CI results feel free). the +2s would need repeating after I push out my own fixes anyway I think15:57:24
@raitobezarius:matrix.orgraitobezariusdon't worry15:57:35
@raitobezarius:matrix.orgraitobezariusthis was just in case this would do you a favor15:57:40
@emilazy:matrix.orgemilythere was some integration test issue with temporary stuff in a build dir and I need to check whether it's a test problem or a code problem15:58:20
@raitobezarius:matrix.orgraitobezarius(+2 will repeat but much easier to review the diff between patchset N -1 and patchset N)15:58:27
@emilazy:matrix.orgemilyI'm currently in the middle of testing Rust stuff re: reproducibility15:58:32
@raitobezarius:matrix.orgraitobezariuswill let the chef cook15:58:44
@raitobezarius:matrix.orgraitobezariusmaybe i will tack the error message UX improvements15:58:52
@raitobezarius:matrix.orgraitobezariusor would you prefer to take care of it yourself?15:58:58
@raitobezarius:matrix.orgraitobezarius

fwiw

45/151 lix:installcheck / functional-check                                FAIL             0.53s   exit status 2
 56/151 lix:installcheck / functional-build-remote-input-addressed         FAIL             0.69s   exit status 1
 68/151 lix:installcheck / functional-build-remote-content-addressed-fixed FAIL             0.79s   exit status 1
133/151 lix:installcheck / functional-build                                FAIL             1.30s   exit status 1
16:00:28

Show newer messages


Back to Room ListRoom Version: 10