Merge pull request #7089 from NixOS/mention-accept-flake-config-in-warning

Mention `--accept-flake-config` in the related warning
This commit is contained in:
Eelco Dolstra 2022-09-26 11:13:02 +02:00 committed by GitHub
commit 6806f20157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}