mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
JSON: add missing newlines
after `nix eval --json` and `nix-instantiate --eval --json`.
This commit is contained in:
parent
062e4fcdde
commit
4c2ff4a0f4
2 changed files with 4 additions and 2 deletions
|
@ -117,6 +117,7 @@ struct CmdEval : MixJSON, InstallableCommand
|
|||
else if (json) {
|
||||
JSONPlaceholder jsonOut(std::cout);
|
||||
printValueAsJSON(*state, true, *v, pos, jsonOut, context, false);
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue