From 9c2f1a5bbafe1e9151f5c94e5e74334ed4a3eb5c Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Fri, 16 Dec 2022 12:52:15 +0100 Subject: [PATCH] add prior art --- rfcs/0137-nix-language-version.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/rfcs/0137-nix-language-version.md b/rfcs/0137-nix-language-version.md index c49cb7f1a..42b79e92c 100644 --- a/rfcs/0137-nix-language-version.md +++ b/rfcs/0137-nix-language-version.md @@ -85,6 +85,20 @@ where `` is a released version of Nix the given file is intended to wor * (-) Cannot be introduced gradually. * (+) Such a breaking change could also be reserved for later iterations of the Nix language. +# Prior art + +- [Rust `edition` field] + + 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. + +- [Flakes `edition` field] + + There had been an attempt to include an `edition` field into the Flakes schema. + It did not solve the problem of having to evaluate the Nix expression using *some* version of the grammar. + +[Rust `edition` field]: https://doc.rust-lang.org/cargo/reference/manifest.html#the-edition-field +[Flakes `edition` field]: https://discourse.nixos.org/t/nix-2-8-0-released/18714/6 + # Unresolved questions [unresolved]: #unresolved-questions