Make sure srcStore has path before coppying

This commit is contained in:
John Ericson
2020-09-22 02:12:08 +00:00
parent 6a0e0db349
commit 6c7b81047f
+1
View File
@@ -847,6 +847,7 @@ std::map<StorePath, StorePath> copyPaths(ref<Store> srcStore, ref<Store> dstStor
return i.second == storePath;
});
// drv file is always CA
srcStore->ensurePath(drvPath);
copyStorePath(srcStore, dstStore, drvPath, repair, checkSigs);
dstStore->buildPaths({{
drvPath,