aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-06-18 18:03:38 +0200
committerGitHub <noreply@github.com>2019-06-18 18:03:38 +0200
commite75ffbf04abb39e7835d3ab3150065a1581d2388 (patch)
treeb0e611a57d5a0ec0c94fea6707ad2c7c865273ee /src/libexpr
parent5d8ec94d7fe4eded9f836bc49449d6eaff8fbc8f (diff)
parent59714a15e0b36c93a7c19b71344a9fccf7b9840d (diff)
Merge pull request #2937 from CSVdB/fuzzymatching-v2
FuzzyMatching works
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 8aa989620..215eb85b6 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);
}
}