nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
7.14k stars 1.85k forks source link

support passing --log-format to `nix-build` #6093

Open znd4 opened 1 week ago

znd4 commented 1 week ago

Description

It would be nice to be able to pass --log-format foo to nix-build

motivation

It would be nice to be able to generate structured logs with --log-format internal-json, especially for nix-output-monitor