aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-09-26 11:13:02 +0200
committerGitHub <noreply@github.com>2022-09-26 11:13:02 +0200
commit6806f20157ec0b8c760e9b76024483e7b1798d01 (patch)
tree61d7438a5b88b9fa2126fb2973a37bb689b82360 /src/libexpr/flake
parente25a36cdac84cda4614162b8a15dbaae8b05537d (diff)
parent1a5d094be76468b5e32c866bbba34cd99521d042 (diff)
Merge pull request #7089 from NixOS/mention-accept-flake-config-in-warning
Mention `--accept-flake-config` in the related warning
Diffstat (limited to 'src/libexpr/flake')
-rw-r--r--src/libexpr/flake/config.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/config.cc b/src/libexpr/flake/config.cc
index 3e9d264b4..6df95f1f0 100644
--- a/src/libexpr/flake/config.cc
+++ b/src/libexpr/flake/config.cc
@@ -68,7 +68,7 @@ void ConfigFile::apply()
}
}
if (!trusted) {
- warn("ignoring untrusted flake configuration setting '%s'", name);
+ warn("ignoring untrusted flake configuration setting '%s'.\nPass '%s' to trust it", name, "--accept-flake-config");
continue;
}
}