forked from lix-project/lix
nix registry: Mark experimental
This is part of the flakes feature. Mark it as such.
This commit is contained in:
parent
52a3b2ee63
commit
30e5c5c55f
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue