Merge pull request #5542 from samueldr/fix/registry-experimental
nix registry: Mark experimental
This commit is contained in:
commit
c78155b436
|
@ -226,6 +226,7 @@ struct CmdRegistry : virtual NixMultiCommand
|
||||||
|
|
||||||
void run() override
|
void run() override
|
||||||
{
|
{
|
||||||
|
settings.requireExperimentalFeature(Xp::Flakes);
|
||||||
if (!command)
|
if (!command)
|
||||||
throw UsageError("'nix registry' requires a sub-command.");
|
throw UsageError("'nix registry' requires a sub-command.");
|
||||||
command->second->prepare();
|
command->second->prepare();
|
||||||
|
|
Loading…
Reference in a new issue