!yxFWYdmeLrdzdoIrcE:maralorn.de

nix-output-monitor

109 Members
https://github.com/maralorn/nix-output-monitor37 Servers

Load older messages


SenderMessageTime
15 Mar 2026
@alexfmpe:matrix.orgalexfmpeHappened multiple times17:40:16
@maralorn:maralorn.demaralornWell, nom tries to remember how many lines have been written and need to be cleared. It is definitely possible that something invalidates the internal computation.18:30:27
@maralorn:maralorn.demaralornOther terminal applications mainly prevent this from happening by switching the terminal mode and completely owning the buffer, which I want to avoid with nom so that you normally get a valid log.18:32:32
@alexfmpe:matrix.orgalexfmpewhy does it need to clear things in the first place?18:47:29
@alexfmpe:matrix.orgalexfmpewhat if it was like a tmux thing18:47:48
@alexfmpe:matrix.orgalexfmpewith normal log in one pane/terminal and the monitoring in another18:48:23
@alexfmpe:matrix.orgalexfmpemy main reason for not always using nom is that the control characters and redrawing clutter the resulting log so it's harder to inspect logs after the build18:49:13
@alexfmpe:matrix.orgalexfmpe

I can imagine something like

$ nom-build foo
<tmux thing>
  <nix-build foo output>
  <monitor output>
$ nom-build foo --detached
"To connect to the monitor ran <some command>"
<nix-build foo output>
18:51:11
@maralorn:maralorn.demaralornI am not aware of a solution where nom can do "a tmux thing" an produce a viable scrollable log in the terminal which is readable after exit.19:44:29
@maralorn:maralorn.demaralornBut maybe that's a misconception. Maybe we can figure out how to do that.19:48:02
@mjolnir:nixos.orgNixOS Moderation Bot banned @jykrwn_bot:matrix.org@jykrwn_bot:matrix.org (disagreement).20:27:59
@isabel:isabelroses.comisabel changed their profile picture.20:54:42
@isabel:isabelroses.comisabel changed their profile picture.20:54:56

There are no newer messages yet.


Back to Room ListRoom Version: 9