aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-04-11 11:55:35 +0200
committerGitHub <noreply@github.com>2023-04-11 11:55:35 +0200
commit60a1bf08b6ad474916a75f4597bac17b71692988 (patch)
tree458525cff85dcbc6bc8aaf80ec6972aae79da299 /src/nix
parenta2ec8eaf179a3c90fdc870c3605a9c1f61765148 (diff)
parentdeb7f4b466574c12a8384f1c76df0141c6f7ca69 (diff)
Merge pull request #7798 from peeley/list-experimental-features
Documentation: list experimental features in manual
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/main.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index f943f77bb..705061d25 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -375,6 +375,11 @@ void mainWrapped(int argc, char * * argv)
return;
}
+ if (argc == 2 && std::string(argv[1]) == "__dump-xp-features") {
+ logger->cout(documentExperimentalFeatures().dump());
+ return;
+ }
+
Finally printCompletions([&]()
{
if (completions) {