Merge pull request #6646 from YorikSar/file-impure-doc

Mention that -f implies --impure for eval in docs
This commit is contained in:
Théophane Hufschmitt 2022-06-11 08:48:16 +02:00 committed by GitHub
commit 37fc4d73bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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},