mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
nix registry: Mark experimental
This is part of the flakes feature. Mark it as such.
This commit is contained in:
parent
52a3b2ee63
commit
30e5c5c55f
1 changed files with 1 additions and 0 deletions
|
@ -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