mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
475 B
475 B
| synopsis | issues | prs | |
|---|---|---|---|
| Prettified JSON output on the terminal | 12555 |
|
This makes the output easier to read.
Scripts are mostly unaffected because for those, stdout will be a file or a pipe, not a terminal, and for those, the old single-line behavior applies.
--json --pretty can be passed to enable it even if the output is not a terminal.
If your script creates a pseudoterminal for Nix's stdout, you can pass --no-pretty to disable the new behavior.