diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index aed43543f..8075b3ff9 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -847,6 +847,7 @@ std::map copyPaths(ref srcStore, ref dstStor return i.second == storePath; }); // drv file is always CA + srcStore->ensurePath(drvPath); copyStorePath(srcStore, dstStore, drvPath, repair, checkSigs); dstStore->buildPaths({{ drvPath,