diff options
author | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-02-07T16·53+0100 |
---|---|---|
committer | AmineChikhaoui <amine.chikhaoui91@gmail.com> | 2018-02-07T16·53+0100 |
commit | 163e39547ae6f69586e23b85e462bfc5a2131a17 (patch) | |
tree | ebad1d32bfe5938e0393627d7430b5d145ab5657 /src/libexpr/eval.cc | |
parent | 9d1e22f743ea9ca232d39d498b675d7e5ac1ca87 (diff) | |
parent | 48c192ca2d5bc65b69d2336c8577258f8eb80cf8 (diff) |
Merge branch 'master' of https://github.com/NixOS/nix into parallel-xz
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r-- | src/libexpr/eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 7775cbe53cc4..0b0a0f7b1790 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -1578,7 +1578,7 @@ string EvalState::copyPathToStore(PathSet & context, const Path & path) dstPath = srcToStore[path]; else { dstPath = settings.readOnlyMode - ? store->computeStorePathForPath(checkSourcePath(path)).first + ? store->computeStorePathForPath(baseNameOf(path), checkSourcePath(path)).first : store->addToStore(baseNameOf(path), checkSourcePath(path), true, htSHA256, defaultPathFilter, repair); srcToStore[path] = dstPath; printMsg(lvlChatty, format("copied source '%1%' -> '%2%'") |