diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-16 13:46:37 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-16 18:14:01 +0200 |
commit | efaffaa9d1de38efecb718aa7a99ba1f2e342ade (patch) | |
tree | 6e0f4443ddd02c73069e43e0d8a79529eaa00023 /src/nix/add-to-store.cc | |
parent | 67a5941472ab56a798556ee2d5afc62fc38a799a (diff) |
Use Logger::stdout()
(cherry picked from commit 8f41847394524fcac40d3b5620139ca7e94a18e3)
Diffstat (limited to 'src/nix/add-to-store.cc')
-rw-r--r-- | src/nix/add-to-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc index 139db3657..ed02227db 100644 --- a/src/nix/add-to-store.cc +++ b/src/nix/add-to-store.cc @@ -50,7 +50,7 @@ struct CmdAddToStore : MixDryRun, StoreCommand if (!dryRun) store->addToStore(info, sink.s); - std::cout << fmt("%s\n", store->printStorePath(info.path)); + logger->stdout("%s", store->printStorePath(info.path)); } }; |