1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00

FuzzyMatching works

Fixes #2843
This commit is contained in:
Nick Van den Broeck 2019-06-11 13:09:06 +02:00
parent c4d740115e
commit 59714a15e0
2 changed files with 56 additions and 1 deletions

View file

@ -104,6 +104,7 @@ static FlakeRef lookupFlake(EvalState & state, const FlakeRef & flakeRef, const
auto newRef = j->second;
newRef.ref = flakeRef.ref;
newRef.rev = flakeRef.rev;
newRef.subdir = flakeRef.subdir;
return updateFlakeRef(state, newRef, registries, pastSearches);
}
}