!yxFWYdmeLrdzdoIrcE:maralorn.de

nix-output-monitor

98 Members
https://github.com/maralorn/nix-output-monitor32 Servers

Load older messages


SenderMessageTime
30 Oct 2024
@maralorn:maralorn.demaralorn * Same command without --log-format and --json16:04:54
@xsova:matrix.orgxsovayeah it kinda just prints what it ordinarily would16:05:31
@xsova:matrix.orgxsovaI tried using pinix but formatting was super off, and this is the only other nix progress tool that I could find :/16:06:31
@maralorn:maralorn.demaralornBut how did it work for pinix?16:13:54
@maralorn:maralorn.demaralorn
In reply to @xsova:matrix.org
yeah it kinda just prints what it ordinarily would
Ah, does it default to the modern nix statusbar output?
16:14:48
@xsova:matrix.orgxsova It seems like it does- it worked like normal I think, it just ended up having broken formatting iirc 16:15:57
@maralorn:maralorn.demaralorn
In reply to @xsova:matrix.org
I tried using pinix but formatting was super off, and this is the only other nix progress tool that I could find :/
Well, there is not really much nom can do about the integration. And I don’t see it as my job to write those integrations for every tool in the community.
16:16:20
@xsova:matrix.orgxsovaThat’s fair- I just don’t super understand how it works/how different it is from nixos-rebuild. I can try to do it, though- I just wanted to make sure I wasn’t missing something16:17:24
@maralorn:maralorn.demaralornNormally tools like darwin-rebuild don’t have a lot of logic, so changing/replacing it to get it to give the correct output shouldn’t be that hard.16:17:23
@maralorn:maralorn.demaralornStill don’t understand how you got pinix and darwin-rebuild to work at all.16:22:56
@maralorn:maralorn.demaralornIt does not look like pinix can parse anything other than the json output. So somehow you must have succeeded at making darwin-rebuild produce json?16:23:33
@xsova:matrix.orgxsova One of the options to run it is running pinix and then the normal command so pinix darwin-rebuild switch instead of using it as a drop in for nix/nixos-rebuild 16:24:04
@maralorn:maralorn.demaralornYeah, but then it won’t get any useful information and probably just pass through the given build logs.16:25:11
@xsova:matrix.orgxsova¯\_(ツ)_/¯ I'm not sure, I'll try to implement it though, I liked nom's output better since formatting was better haha16:36:53
@maralorn:maralorn.demaralornI will have to inspect pinix more and steal their best ideas.16:49:13
@maralorn:maralorn.demaralornCan’t let my Haskell app become the victim of a rust rewrite. 😈16:49:41
@maralorn:maralorn.demaralornBut well, for that I need to allocate any time to working on nom. 😄16:50:22
@xsova:matrix.orgxsovaOh it’s written in Haskell- time to learn a new language xd16:50:37
@maralorn:maralorn.demaralornYeah, no one believed me that a Haskell program can have side effects so I wrote a program, which basically only does IO. 🤡16:53:06
@maralorn:maralorn.demaralorn * Yeah, no one believed me that a Haskell program can have side effects. So I wrote a program which basically only does IO. 🤡16:53:23
2 Nov 2024
@isabel:isabelroses.comisabel changed their profile picture.10:07:49
@kamillaova:matrix.orgKamilla 'ova joined the room.15:54:05
6 Nov 2024
@seapat:matrix.orgseapat joined the room.13:50:04
7 Nov 2024
@frumon:matrix.org@frumon:matrix.org left the room.12:27:19
12 Nov 2024
@pfhuh:matrix.orgpfhuh joined the room.05:51:31
22 Nov 2024
@picnoir:alternativebit.frPicnoir

Hey!

I'm trying to add a keypress toggle to print the drv path instead of the program pname/version in the output. (to allow me to copy paste drvs to a remote builder when I'm on my slow laptop :P)

I added this "printer state" part to the NOMV1State datatype.

14:22:31
@picnoir:alternativebit.frPicnoirThis approach is a bit annoying, the state updater is pretty pure and only expects the Nix output for now. I tried to bend a bit the updater type but it's rapidly going out of hand diff wise.14:23:30
@picnoir:alternativebit.frPicnoirI'm thinking about extracting the print state from the nom state and store that in a tmvar easily accessible from processTextStream.14:24:11
@picnoir:alternativebit.frPicnoir I'll likely have to thread that up until printBuilds, but I think it'd be easier in the end. 14:25:18
@picnoir:alternativebit.frPicnoir Do you have any strong feeling against me doing this maralorn ? 14:25:33

Show newer messages


Back to Room ListRoom Version: 9