!yxFWYdmeLrdzdoIrcE:maralorn.de

nix-output-monitor

94 Members
https://github.com/maralorn/nix-output-monitor31 Servers

Load older messages


SenderMessageTime
19 Nov 2025
@maralorn:maralorn.demaralornLike hexa said it might be that ssh:// does?not support that23:03:58
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) I thought it'd just parse the log for Running phase:? Is that not the case? 23:04:20
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)because that definitely does appear in log output23:04:54
@hexa:lossy.networkhexado you know the nix json log format?23:04:54
@maralorn:maralorn.demaralornNo23:04:55
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i know of its existence and it is being used within nom, i do not know how it is structured23:05:38
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)but nom prints the lod output, so surely it can read it too?23:05:50
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)* but nom prints the log output, so surely it can read it too?23:05:58
@maralorn:maralorn.demaralornThe phase messages are a distinct kind of json objects in the log which simply don't get emitted for ssh:// builds23:06:46
@maralorn:maralorn.demaralornBut of course your suggested hack should work23:07:41
@maralorn:maralorn.demaralornCould also give false positives and could be broken by modifications to builder logging in nixpkgs.23:09:05
@maralorn:maralorn.demaralornBut tbf that's true for the?current concept as well23:09:29
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)tbh i am surprised the json format knows about phases. Isn't that a layer violation? Nix (the evaluator) shouldn't really have knowledge about the concept of stdenv or build phases at all23:14:33
@maralorn:maralorn.demaralornYes, it totally is.23:15:50
@maralorn:maralorn.demaralornI was abhorred when I learned this.23:16:07
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)i hate this damn language23:16:12
@emma:rory.gayEmma [it/its]I thought build phases were a builtin ngl23:16:43
@k900:0upti.meK900 They're not 23:16:52
@k900:0upti.meK900They're an stdenv-ism23:16:56
@maralorn:maralorn.demaralornBut nix has some kind of special support for them iirc?23:17:45
@k900:0upti.meK900 Yes 23:18:07
@emma:rory.gayEmma [it/its]Now that i can see making sense, but i would've expected a fifo to be exposed in the build env or something for that purpose23:18:50
@whispers:catgirl.cloudwhispers (it/fae) i don't think it does, it's a printf in nixpkgs stdenv 23:19:13
@whispers:catgirl.cloudwhispers (it/fae)https://github.com/NixOS/nixpkgs/blob/ed53e9bfd83a0f16833a17f478b8e11f70462854/pkgs/stdenv/generic/setup.sh#L170823:19:47
@emma:rory.gayEmma [it/its]Does nix just relay any line that haplens to be json or smth?23:19:54
@emma:rory.gayEmma [it/its]Oh huh, i guess theoretically anyone can hook into that23:20:55
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all) nono, nix definitely has a concept of phases: https://github.com/search?q=repo%3ANixOS%2Fnix%20phase&type=code 23:21:35
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)it even supports running phases individually ???23:21:48
@k900:0upti.meK900Layering violation ecks dee23:22:04
@whispers:catgirl.cloudwhispers (it/fae)oh wow that's. horrid23:22:10

Show newer messages


Back to Room ListRoom Version: 9