mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
Make sure srcStore has path before coppying
This commit is contained in:
parent
6a0e0db349
commit
6c7b81047f
1 changed files with 1 additions and 0 deletions
|
@ -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