aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-03 16:15:22 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-03 16:15:22 +0200
commitc20591ddc3454263ac49435624f4ec2983ee335d (patch)
treee026dc0c272e02b3e5293f819b46f8f93df3d206 /src/libexpr/eval.cc
parent7dbba0a94e3d5ad0388131d5653808084c42db89 (diff)
parent01572c2198de49071827f0be9f5db202bac21703 (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index dd2c44c6d..266ddff75 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1711,7 +1711,7 @@ string EvalState::copyPathToStore(PathSet & context, const Path & path)
else {
auto p = settings.readOnlyMode
? store->computeStorePathForPath(std::string(baseNameOf(path)), checkSourcePath(path)).first
- : store->addToStore(std::string(baseNameOf(path)), checkSourcePath(path), true, htSHA256, defaultPathFilter, repair);
+ : store->addToStore(std::string(baseNameOf(path)), checkSourcePath(path), FileIngestionMethod::Recursive, htSHA256, defaultPathFilter, repair);
dstPath = store->printStorePath(p);
srcToStore.insert_or_assign(path, std::move(p));
printMsg(lvlChatty, "copied source '%1%' -> '%2%'", path, dstPath);