aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-09-14 10:38:10 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-09-14 10:42:29 +0200
commit4ffda0af7c645af88925eec589c819b4a51cdef6 (patch)
tree7cbcd9092de69d42f01a0b46ab2cb8727031563e /src/nix/flake.cc
parent9bfdd556cffb46bf0c8d8105c992e029d9c01dd3 (diff)
ANSI_YELLOW -> ANSI_WARNING
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index abb0fd3b4..5dab889a4 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -962,7 +962,7 @@ struct CmdFlakeShow : FlakeCommand
if (attrPath.size() == 1)
recurse();
else if (!showLegacy)
- logger->cout("%s: " ANSI_YELLOW "omitted" ANSI_NORMAL " (use '--legacy' to show)", headerPrefix);
+ logger->cout("%s: " ANSI_WARNING "omitted" ANSI_NORMAL " (use '--legacy' to show)", headerPrefix);
else {
if (visitor.isDerivation())
showDerivation();
@@ -997,7 +997,7 @@ struct CmdFlakeShow : FlakeCommand
|| (attrPath.size() == 2 && attrPath[0] == "overlays") ? "Nixpkgs overlay" :
attrPath.size() == 2 && attrPath[0] == "nixosConfigurations" ? "NixOS configuration" :
attrPath.size() == 2 && attrPath[0] == "nixosModules" ? "NixOS module" :
- ANSI_YELLOW "unknown" ANSI_NORMAL);
+ ANSI_WARNING "unknown" ANSI_NORMAL);
}
} catch (EvalError & e) {
if (!(attrPath.size() > 0 && attrPath[0] == "legacyPackages"))