Skip to content

Commit 288c7f1

Browse files
add prior art
as suggested by @piegamesde
1 parent 4265b08 commit 288c7f1

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

rfcs/0137-nix-language-version.md

+14
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,20 @@ where `<version>` is a released version of Nix the given file is intended to wor
8585
* (-) Cannot be introduced gradually.
8686
* (+) Such a breaking change could also be reserved for later iterations of the Nix language.
8787

88+
# Prior art
89+
90+
- [Rust `edition` field]
91+
92+
Rust has an easier problem to solve. Cargo files are written in TOML, so the `edition` information does not have to be part of Rust itself.
93+
94+
- [Flakes `edition` field]
95+
96+
There had been an attempt to include an `edition` field into the Flakes schema.
97+
It did not solve the problem of having to evaluate the Nix expression using *some* version of the grammar.
98+
99+
[Rust `edition` field]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field
100+
[Flakes `edition` field]: https://discourse.nixos.org/t/nix-2-8-0-released/18714/6
101+
88102
# Unresolved questions
89103
[unresolved]: #unresolved-questions
90104

0 commit comments

Comments
 (0)