mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-19 01:26:47 +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
|
||||
{
|
||||
settings.requireExperimentalFeature(Xp::Flakes);
|
||||
if (!command)
|
||||
throw UsageError("'nix registry' requires a sub-command.");
|
||||
command->second->prepare();
|
||||
|
|
Loading…
Reference in a new issue