aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/experimental-features.hh
diff options
context:
space:
mode:
authorNoah Snelson <noah.snelson@protonmail.com>2023-03-27 17:12:49 -0700
committerNoah Snelson <noah.snelson@protonmail.com>2023-03-27 17:12:49 -0700
commitd1d1ae7a3b97059af09dd5a5dde2e37ada0fddac (patch)
tree2bd81c6033cdaea03c0200cbb70385a1e3bd4a0c /src/libutil/experimental-features.hh
parent56dc6ed8410510033b835d48b3bd22766e8349a0 (diff)
Documentation: list experimental features in manual
Lists all current experimental features in the `nix.conf` manual.
Diffstat (limited to 'src/libutil/experimental-features.hh')
-rw-r--r--src/libutil/experimental-features.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libutil/experimental-features.hh b/src/libutil/experimental-features.hh
index ac372e03e..1f1852705 100644
--- a/src/libutil/experimental-features.hh
+++ b/src/libutil/experimental-features.hh
@@ -10,8 +10,8 @@ namespace nix {
/**
* The list of available experimental features.
*
- * If you update this, don’t forget to also change the map defining their
- * string representation in the corresponding `.cc` file.
+ * If you update this, don’t forget to also change the map defining their string
+ * representation and documentation in the corresponding `.cc` file as well.
**/
enum struct ExperimentalFeature
{
@@ -36,6 +36,7 @@ using Xp = ExperimentalFeature;
const std::optional<ExperimentalFeature> parseExperimentalFeature(
const std::string_view & name);
std::string_view showExperimentalFeature(const ExperimentalFeature);
+std::string getExperimentalFeaturesList();
std::ostream & operator<<(
std::ostream & str,