Mention that -f implies --impure for eval in docs

Right now this is not mentioned anywhere and it is unexpected.
This commit is contained in:
Yuriy Taraday 2022-06-10 19:00:19 +04:00
parent 45ebaab665
commit 65d09fce22

View file

@ -146,7 +146,8 @@ SourceExprCommand::SourceExprCommand(bool supportReadOnlyMode)
.shortName = 'f',
.description =
"Interpret installables as attribute paths relative to the Nix expression stored in *file*. "
"If *file* is the character -, then a Nix expression will be read from standard input.",
"If *file* is the character -, then a Nix expression will be read from standard input. "
"Implies `--impure`.",
.category = installablesCategory,
.labels = {"file"},
.handler = {&file},