add syntax constraint for shebang lines

This commit is contained in:
Valentin Gagarin 2023-06-14 02:01:24 +02:00 committed by GitHub
parent 80255aa2be
commit 567d2d4ccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -215,7 +215,7 @@ Other discussions around language changes:
```
version \d*;
```
The evaluator must ignore a shebang line (starting with `#!) at the start of files, to leave room for additional tooling.
This implies that if no language version is specified in a Nix file, it is written in version 6 (the version implemented in the stable release of Nix at the time of writing this RFC).
The syntax is open for bikeshedding.