| 15 Mar 2026 |
maralorn | Very weird. | 09:12:03 |
maralorn | The message says "last 25 log lines" and then it shows 23 lines? | 09:13:27 |
maralorn | I don't even know how nom could be screwing that up. | 09:14:41 |
maralorn | Funny thing: We have users complaining that we show errors twice: once in the logs and once in the footer. But here the error doesn't appear in the logs at all. | 09:16:40 |
alexfmpe | Nom definitely does weird things to the output | 17:38:16 |
alexfmpe | I've seen it, I dunno, clear output of preceding nom run | 17:39:03 |
alexfmpe | I ran nom twice, and afterwards, my next to last prompt had a non-nom command on it | 17:40:05 |
alexfmpe | Happened multiple times | 17:40:16 |
maralorn | Well, 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 | Other 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 | why does it need to clear things in the first place? | 18:47:29 |
alexfmpe | what if it was like a tmux thing | 18:47:48 |
alexfmpe | with normal log in one pane/terminal and the monitoring in another | 18:48:23 |
alexfmpe | my 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 build | 18:49:13 |
alexfmpe | 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 | I 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 | But maybe that's a misconception. Maybe we can figure out how to do that. | 19:48:02 |
| NixOS Moderation Bot banned @jykrwn_bot:matrix.org (disagreement). | 20:27:59 |
| isabel changed their profile picture. | 20:54:42 |
| isabel changed their profile picture. | 20:54:56 |
| 16 Mar 2026 |
alexfmpe | huh nom swallows traces as well | 22:40:14 |
alexfmpe | $ nix-build -A pkgsStatic.haskell.packages.ghc912.th-orphans --dry-run
trace: network
trace: iserv-proxy
trace: network
trace: network
trace: network
these 49 derivations will be built:
| 22:40:37 |
alexfmpe | $ nom-build -A pkgsStatic.haskell.packages.ghc912.th-orphans --dry-run
trace: network
trace: iserv-proxy
┏━ 2 Traces:
┃ trace: network
┃ trace: iserv-proxy
┣━━━
┗━ ∑ ⏱ 5s^C
or, if I leave it running
$ nom-build -A pkgsStatic.haskell.packages.ghc912.th-orphans --dry-run
trace: network
trace: iserv-proxy
these 49 derivations will be built:
| 22:41:42 |
| 17 Mar 2026 |
| Ori joined the room. | 15:32:11 |
| 19 Mar 2026 |
| Miles Dyson set a profile picture. | 18:06:52 |