Ensure that the ca-derivations bit is set when copying realisations

This should already hold, but better ensure it for future-proof-nees
This commit is contained in:
regnat
2021-02-25 17:19:59 +01:00
parent f67ff1f575
commit 3b76f8f252
+1
View File
@@ -786,6 +786,7 @@ void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
std::map<StorePath, StorePath> copyPaths(ref<Store> srcStore, ref<Store> dstStore, const RealisedPath::Set & paths,
RepairFlag repair, CheckSigsFlag checkSigs, SubstituteFlag substitute)
{
settings.requireExperimentalFeature("ca-derivations");
StorePathSet storePaths;
std::set<Realisation> realisations;
for (auto path : paths) {