diff --git a/src/nix/search.cc b/src/nix/search.cc index 4959759e8..14fb8c1df 100644 --- a/src/nix/search.cc +++ b/src/nix/search.cc @@ -48,7 +48,6 @@ struct CmdSearch : SourceExprCommand, MixJSON throw UsageError("'--installable' cannot be used together with '--file' or '--expr'"); } - expectArgs("args", &res); expectArgs("regex", &res); addFlag(Flag { .longName = "exclude",