From 6c7b81047f8ead0bb2f8dd588dfcb5f50d1554a9 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 9 Sep 2020 17:35:54 +0000 Subject: [PATCH] Make sure srcStore has path before coppying --- src/libstore/store-api.cc | 1 + 1 file changed, 1 insertion(+) 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,