BinaryCacheStore: Respect build-use-substitutes

This commit is contained in:
Eelco Dolstra 2016-02-22 17:21:39 +01:00
parent 5668aa5f71
commit 94817d77d9

View file

@ -252,7 +252,8 @@ void BinaryCacheStore::querySubstitutablePathInfos(const PathSet & paths,
infos.emplace(storePath, sub);
}
//(*localStore)->querySubstitutablePathInfos(left, infos);
if (settings.useSubstitutes)
(*localStore)->querySubstitutablePathInfos(left, infos);
}
void BinaryCacheStore::buildPaths(const PathSet & paths, BuildMode buildMode)