diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-16 23:01:18 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-04-03 11:48:21 -0400 |
commit | 4a0b893d5e5d5cbf2f39e52d1651bcff8b4943a9 (patch) | |
tree | 2b2d23d51f1477be4d35472ce342349426b747ae /src/nix/repl.cc | |
parent | f3a6de6ba983141cabed200cefbf46c791c1d48a (diff) |
Stuctured command stability
Prior to this, there was an ad-hoc whitelist in `main.cc`. Now, every
command states its stability.
In a future PR, we will adjust the manual to take advantage of this new
information in the JSON.
(It will be easier to do that once we have some experimental feature
docs to link too; see #5930 and #7798.)
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r-- | src/nix/repl.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index 7aa8774e9..bb14f3f99 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -12,6 +12,14 @@ struct CmdRepl : RawInstallablesCommand evalSettings.pureEval = false; } + /** + * This command is stable before the others + */ + std::optional<ExperimentalFeature> experimentalFeature() override + { + return std::nullopt; + } + std::vector<std::string> files; Strings getDefaultFlakeAttrPaths() override |