diff options
author | Solène Rapenne <solene@perso.pw> | 2022-12-16 09:34:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 09:34:22 +0100 |
commit | d0660c6c0b8fc8362220a1b65a6475fde7bf628f (patch) | |
tree | dc96990e02041f33fdf063d5eb33ca77ad2be53d /src/libexpr/flake | |
parent | 98e01da0b122d09ab6ceca3e163f519dce450e27 (diff) |
printMsg replacement by printInfo
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
Diffstat (limited to 'src/libexpr/flake')
-rw-r--r-- | src/libexpr/flake/config.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/config.cc b/src/libexpr/flake/config.cc index 94d0dc26c..89ddbde7e 100644 --- a/src/libexpr/flake/config.cc +++ b/src/libexpr/flake/config.cc @@ -56,7 +56,7 @@ void ConfigFile::apply() auto tlname = get(trustedList, name); if (auto saved = tlname ? get(*tlname, valueS) : nullptr) { trusted = *saved; - printMsg(lvlInfo, "Using saved setting for '%s = %s' from ~/.local/share/nix/trusted-settings.json.", name,valueS); + printInfo("Using saved setting for '%s = %s' from ~/.local/share/nix/trusted-settings.json.", name, valueS); } else { // FIXME: filter ANSI escapes, newlines, \r, etc. if (std::tolower(logger->ask(fmt("do you want to allow configuration setting '%s' to be set to '" ANSI_RED "%s" ANSI_NORMAL "' (y/N)?", name, valueS)).value_or('n')) == 'y') { |