From c6d692c6ebd94b010ce7b20e70bdfd9b1275664d Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Fri, 16 Dec 2022 11:36:51 +0100 Subject: [PATCH] using Nix language version istead would help third-party evaluators --- rfcs/0137-nix-language-version.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rfcs/0137-nix-language-version.md b/rfcs/0137-nix-language-version.md index ad022d8..45b16c4 100644 --- a/rfcs/0137-nix-language-version.md +++ b/rfcs/0137-nix-language-version.md @@ -61,7 +61,9 @@ where `` is a released version of Nix the given file is intended to wor - Use the output of [`builtins.langVersion`] for specifying the version of the Nix language. + * (+) This would serve other Nix language evaluators which are not and should not be tied to the rest of Nix. * (-) `builtins.langVersion` is currently only internal and undocumented. + * (+) Documentation is easy to add. * (-) Requires adding another built-in or command line option to the public API. * (-) Using a language feature requires an additional steps from users to determine the current version. * (+) We can add a command line option such that it is not more effort than `nix --version`.