BinaryCacheStore: Respect build-use-substitutes
This commit is contained in:
parent
5668aa5f71
commit
94817d77d9
|
@ -252,7 +252,8 @@ void BinaryCacheStore::querySubstitutablePathInfos(const PathSet & paths,
|
||||||
infos.emplace(storePath, sub);
|
infos.emplace(storePath, sub);
|
||||||
}
|
}
|
||||||
|
|
||||||
//(*localStore)->querySubstitutablePathInfos(left, infos);
|
if (settings.useSubstitutes)
|
||||||
|
(*localStore)->querySubstitutablePathInfos(left, infos);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BinaryCacheStore::buildPaths(const PathSet & paths, BuildMode buildMode)
|
void BinaryCacheStore::buildPaths(const PathSet & paths, BuildMode buildMode)
|
||||||
|
|
Loading…
Reference in a new issue