maralorn / nix-output-monitor

Pipe your nix-build output through the nix-output-monitor a.k.a nom to get additional information while building.
GNU Affero General Public License v3.0
841 stars 24 forks source link

"`tee`" the internal-json logs #89

Open NobbZ opened 1 year ago

NobbZ commented 1 year ago

Currently there is no way to store away the internal-json when debugging the nom build commands.

One then has always to build an equivalent nix build |& tee | nom chain manually.

It would be nice if nom would allow for a --debug-log flag taking a file path, to directly write the internal-json log to disk (or any other log that nom consumes to create the graph, perhaps enriched with its own logging information.