1
0
Fork 0
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:
Naïm Favier 2022-08-22 15:07:52 +02:00
parent 062e4fcdde
commit 4c2ff4a0f4
No known key found for this signature in database
GPG key ID: 95AFCE8211908325
2 changed files with 4 additions and 2 deletions

View file

@ -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 {