aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-06-11 13:09:06 +0200
committerNick Van den Broeck <nick.van.den.broeck666@gmail.com>2019-06-18 17:01:57 +0200
commit59714a15e0b36c93a7c19b71344a9fccf7b9840d (patch)
treed9b54cf2de00f3204277f634f975114da7f0e7bd /src/libexpr
parentc4d740115e391335361eaf9706b75f303a4b8002 (diff)
FuzzyMatching works
Fixes #2843
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/flake/flake.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index 0018a0d07..30ab9a876 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -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);
}
}