Update rfcs/0137-nix-language-version.md

This commit is contained in:
Valentin Gagarin 2023-06-11 17:38:27 +02:00 committed by GitHub
parent f6d519ee09
commit 3364b1cbb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,10 +278,10 @@ Once the language version is accessible though, tooling can at least be adapted
</details>
1. The language version declaration is optional for bare Nix expressions, and can be specified with a parameter to the evaluator.
1. As an exception, the language version declaration is optional for Nix expressions passed directly as an argument to the evaluator and on the REPL, and can be specified with a separate parameter to the evaluator.
If no version is specified in a bare Nix expression, assume the most recent language version supported by the evaluator.
This is to ease use of the REPL and commands taking bare expressions.
This is to ease use of the REPL and evaluating ad hoc expressions.
<details><summary>Alternatives</summary>