diff options
author | Naïm Favier <n@monade.li> | 2022-03-16 16:15:11 +0100 |
---|---|---|
committer | Naïm Favier <n@monade.li> | 2022-03-16 21:26:19 +0100 |
commit | 8dcecc07387e6a782b4831dcc0d846eceb396191 (patch) | |
tree | fc44811cbf2546516aeb75b81cd9a988c2cbee93 /src/nix-env | |
parent | 57366619229c62ed182514d9ad71ef3aea93d5d6 (diff) |
nix-env: print a final newline after JSON
Diffstat (limited to 'src/nix-env')
-rw-r--r-- | src/nix-env/nix-env.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc index e68218d1c..a1cd8fd40 100644 --- a/src/nix-env/nix-env.cc +++ b/src/nix-env/nix-env.cc @@ -1057,6 +1057,7 @@ static void opQuery(Globals & globals, Strings opFlags, Strings opArgs) /* Print the desired columns, or XML output. */ if (jsonOutput) { queryJSON(globals, elems, printOutPath, printMeta); + cout << '\n'; return; } |