aboutsummaryrefslogtreecommitdiff
path: root/src/libcmd/installables.cc
diff options
context:
space:
mode:
authorYuriy Taraday <yuriy.taraday@tweag.io>2022-06-10 19:00:19 +0400
committerYuriy Taraday <yuriy.taraday@tweag.io>2022-06-10 19:16:17 +0400
commit65d09fce2216b3270499ccd8de122e197552cce6 (patch)
tree83f18a65cfc0ab9fabfc23d7e869ea1fb5bbc7c6 /src/libcmd/installables.cc
parent45ebaab66594692035f028796200a6db2b1fedaf (diff)
Mention that -f implies --impure for eval in docs
Right now this is not mentioned anywhere and it is unexpected.
Diffstat (limited to 'src/libcmd/installables.cc')
-rw-r--r--src/libcmd/installables.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc
index 21db2b08b..3cf25e2bc 100644
--- a/src/libcmd/installables.cc
+++ b/src/libcmd/installables.cc
@@ -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},