Follow

Hm. How do I get (or , for that matter) to output its build progress in a machine-readable format like JSON? The --json flag apparently does not do this, and only seems to give me the derivation paths.

· · Web · 2 · 1 · 0

@raito This gives me more output but ultimately still just seems to be JSON-wrapped strings... based on an evaluation of a bunch of different "Nix GUI" codebases, it seems the answer is basically just "use regex to parse the output"?

@joepie91
At my phone so can't check what it prints, but there is also a `--log-format internal-json` that nom¹ uses which might give more details than regular json.

1: github.com/maralorn/nix-output

Sign in to participate in the conversation
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.