lockFlake(): Allow registry lookups for the top-level flake
Fixes #13050.
(cherry picked from commit 68de26d38a)
This commit is contained in:
1 parent
3019007eb5
commit
dfbb52e6bd
9 files changed
+55
-26
No files matched your search
@@ -40,7 +40,7 @@ void completeFlakeInputAttrPath(
|
||||
std::string_view prefix)
|
||||
{
|
||||
for (auto & flakeRef : flakeRefs) {
|
||||
auto flake = flake::getFlake(*evalState, flakeRef, true);
|
||||
auto flake = flake::getFlake(*evalState, flakeRef, fetchers::UseRegistries::All);
|
||||
for (auto & input : flake.inputs)
|
||||
if (hasPrefix(input.first, prefix))
|
||||
completions.add(input.first);
|
||||
|
||||
Reference in new issue
Block a user