| 5 Dec 2025 |
Emma [it/its] |  Download clipboard.png | 10:17:08 |
Emma [it/its] | but this is a bit of an odd case i suppose | 10:17:54 |
maralorn | Still sucks. | 10:18:34 |
maralorn | Problem is I really need an internal-json log of an offending build to figure this out. | 10:19:09 |
Emma [it/its] | hmm, if you can hack in support for passing a wrapper command (with maybe an arg or 2) i could probably bridge the nix logs as requested by nom to a matrix room | 10:21:17 |
Emma [it/its] | or store them in a file somewhere... | 10:21:55 |
Emma [it/its] | with the former i'd expect you to be able to tail my logs in ~realtime, give or take federation lag | 10:26:00 |
Emma [it/its] | i dont expect this to finish in the next couple of hours soo... ill go fix up some packaging woes and see if i can build a simple matrix bridge for logs | 10:37:54 |
saygo.2 | i think you can just use tee to split the stdout/stderr streams | 10:41:24 |
saygo.2 | just use plain nom with a pipe and tee | 10:41:40 |
saygo.2 | not enough of a shell wizard to give you the exact commands but it should be possible | 10:42:18 |
Emma [it/its] | im using nom as wrapper by itself ^^' | 10:42:37 |
maralorn | Emma [it/its]: We don’t need a matrix bridge. 😄 | 10:43:21 |
maralorn | Just do what saygo.2 says and dm me the log the next time you see this happening. | 10:44:03 |
maralorn | (or post it here) | 10:44:14 |
maralorn | nom build <foo> is basically the same is nix build -v --log-format internal-json <foo> |& nom --json | 10:45:25 |
Emma [it/its] | ah | 10:46:04 |
maralorn | So make that nix build -v --log-format internal-json <foo> |& tee nom.log | nom --json. | 10:46:06 |
Emma [it/its] | ill wait for nodejs to finish building and ill get to it then :P | 10:46:20 |
Emma [it/its] | curl -s https://rory.gay/nom.log | nom --json
that was quick lol | 10:58:01 |
Emma [it/its] | took me less than a minute to reproduce | 10:58:10 |
Emma [it/its] | nix build .#nixosConfigurations.Rory-desktop.config.system.build.toplevel -j1 --show-trace --keep-going --accept-flake-config -L -v --log-format internal-json |& tee ~/nom.log | nom --json | 10:58:28 |
Emma [it/its] | * nix build .#nixosConfigurations.Rory-desktop.config.system.build.toplevel -j1 --show-trace --keep-going --accept-flake-config -L -v --log-format internal-json |& tee ~/nom.log | nom --json was the command i used | 10:58:33 |
Emma [it/its] | ill go run a longer run so we can get more reproductions | 10:59:11 |
maralorn | Well, the problem is that I don’t have your derivations in store. | 11:09:39 |
maralorn | Can you add a screenshot of the hanging build? | 11:09:54 |
Emma [it/its] | oh it seems to be quite a lot of them | 11:10:38 |
Emma [it/its] |  Download clipboard.png | 11:11:30 |
Emma [it/its] | but running the logs on my local machine was accurate at least to when i cancelled it to upload the log | 11:11:51 |
maralorn | Makes sense. | 11:13:06 |