From 30e5c5c55fb84a103575fda72fa11c7b1b88d928 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Fri, 12 Nov 2021 03:18:31 -0500 Subject: [PATCH] nix registry: Mark experimental This is part of the flakes feature. Mark it as such. --- src/nix/registry.cc | 1 + 1 file changed, 1 insertion(+) 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();