diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-16 13:46:37 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-16 13:47:59 +0200 |
commit | 8f41847394524fcac40d3b5620139ca7e94a18e3 (patch) | |
tree | ca033aaa69128461f3059458803b6178d29fd3e7 /src/nix/why-depends.cc | |
parent | 696c026006a6ac46adc990ed5cb0f31535bac076 (diff) |
Use Logger::stdout()
Diffstat (limited to 'src/nix/why-depends.cc')
-rw-r--r-- | src/nix/why-depends.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc index a9a5ec8f8..6037f37fe 100644 --- a/src/nix/why-depends.cc +++ b/src/nix/why-depends.cc @@ -149,7 +149,7 @@ struct CmdWhyDepends : SourceExprCommand auto pathS = store->printStorePath(node.path); assert(node.dist != inf); - std::cout << fmt("%s%s%s%s" ANSI_NORMAL "\n", + logger->stdout("%s%s%s%s" ANSI_NORMAL, firstPad, node.visited ? "\e[38;5;244m" : "", firstPad != "" ? "→ " : "", |