Fix completion of --template
This commit is contained in:
+9
-2
@@ -38,8 +38,6 @@ struct EvalCommand : virtual StoreCommand, MixEvalArgs
|
||||
ref<EvalState> getEvalState();
|
||||
|
||||
std::shared_ptr<EvalState> evalState;
|
||||
|
||||
void completeFlakeRef(std::string_view prefix);
|
||||
};
|
||||
|
||||
struct MixFlakeOptions : virtual Args
|
||||
@@ -205,4 +203,13 @@ struct MixEnvironment : virtual Args {
|
||||
void setEnviron();
|
||||
};
|
||||
|
||||
void completeFlakeRef(ref<Store> store, std::string_view prefix);
|
||||
|
||||
void completeFlakeRefWithFragment(
|
||||
ref<EvalState> evalState,
|
||||
flake::LockFlags lockFlags,
|
||||
Strings attrPathPrefixes,
|
||||
const Strings & defaultFlakeAttrPaths,
|
||||
std::string_view prefix);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user