diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-02 15:57:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 15:57:31 +0100 |
commit | b9370fd7a040558cc8c7d5db109fdd3e407ff409 (patch) | |
tree | 4f9b64ba19120271c2ef1e2ecc3b104beb36770a /src/nix/flake.cc | |
parent | 85dbf9de8e30d07139d983ee4066332c477ee0f9 (diff) | |
parent | b69a73a2305aaee2a4da73da601dbde3f1ddd7a6 (diff) |
Merge pull request #7941 from edolstra/stdout
Check writes to stdout
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r-- | src/nix/flake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc index 053a9c9e1..3fe093fc7 100644 --- a/src/nix/flake.cc +++ b/src/nix/flake.cc @@ -952,7 +952,7 @@ struct CmdFlakeArchive : FlakeCommand, MixJSON, MixDryRun {"path", store->printStorePath(flake.flake.sourceInfo->storePath)}, {"inputs", traverse(*flake.lockFile.root)}, }; - std::cout << jsonRoot.dump() << std::endl; + logger->cout("%s", jsonRoot); } else { traverse(*flake.lockFile.root); } |