aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-11-12 03:18:31 -0500
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2021-11-12 03:18:31 -0500
commit30e5c5c55fb84a103575fda72fa11c7b1b88d928 (patch)
treeb23c27b0bc141fc3beaf43a0d5a5752a924e3b89 /src
parent52a3b2ee6367306a3f17fe9a2d0e2e4096852e05 (diff)
nix registry: Mark experimental
This is part of the flakes feature. Mark it as such.
Diffstat (limited to 'src')
-rw-r--r--src/nix/registry.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/registry.cc b/src/nix/registry.cc
index 6a92576c7..c496f94f8 100644
--- a/src/nix/registry.cc
+++ b/src/nix/registry.cc
@@ -226,6 +226,7 @@ struct CmdRegistry : virtual NixMultiCommand
void run() override
{
+ settings.requireExperimentalFeature(Xp::Flakes);
if (!command)
throw UsageError("'nix registry' requires a sub-command.");
command->second->prepare();