Skip to content

Commit

Permalink
Merge pull request NixOS#7089 from NixOS/mention-accept-flake-config-…
Browse files Browse the repository at this point in the history
…in-warning

Mention `--accept-flake-config` in the related warning
  • Loading branch information
edolstra authored Sep 26, 2022
2 parents e25a36c + 1a5d094 commit 6806f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libexpr/flake/config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 6806f20

Please sign in to comment.