forked from lix-project/lix
Make sure srcStore has path before coppying
This commit is contained in:
parent
6a0e0db349
commit
6c7b81047f
|
@ -847,6 +847,7 @@ std::map<StorePath, StorePath> copyPaths(ref<Store> srcStore, ref<Store> dstStor
|
||||||
return i.second == storePath;
|
return i.second == storePath;
|
||||||
});
|
});
|
||||||
// drv file is always CA
|
// drv file is always CA
|
||||||
|
srcStore->ensurePath(drvPath);
|
||||||
copyStorePath(srcStore, dstStore, drvPath, repair, checkSigs);
|
copyStorePath(srcStore, dstStore, drvPath, repair, checkSigs);
|
||||||
dstStore->buildPaths({{
|
dstStore->buildPaths({{
|
||||||
drvPath,
|
drvPath,
|
||||||
|
|
Loading…
Reference in a new issue