mirror of
https://github.com/NixOS/rfcs.git
synced 2025-12-20 07:51:18 +01:00
explain exception for bare expressions
This commit is contained in:
parent
6ee9ecd950
commit
6e081bbf5b
1 changed files with 2 additions and 0 deletions
|
|
@ -272,6 +272,8 @@ Once the language version is accessible though, tooling can at least be adapted
|
||||||
1. The language version declaration is optional for bare Nix expressions, and can be specified with a parameter to the evaluator.
|
1. The language version declaration is optional for bare Nix expressions, and can be specified with a parameter to the evaluator.
|
||||||
If no version is specified in a bare Nix expression, assume the most recent language version supported by 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.
|
||||||
|
|
||||||
<details><summary>Alternatives</summary>
|
<details><summary>Alternatives</summary>
|
||||||
|
|
||||||
- Make it mandatory
|
- Make it mandatory
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue