From e2224844019d58fc947ce00e18e9fa9974d2c8b5 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 May 2016 13:33:05 +0200 Subject: Re-implement the WantMassQuery property of binary caches --- src/libstore/local-store.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/local-store.cc') diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 6f33c1e81..acd02eb48 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -788,6 +788,7 @@ PathSet LocalStore::querySubstitutablePaths(const PathSet & paths) { PathSet res; for (auto & sub : getDefaultSubstituters()) { + if (!sub->wantMassQuery()) continue; for (auto & path : paths) { if (res.count(path)) continue; debug(format("checking substituter ā€˜%sā€™ for path ā€˜%sā€™") -- cgit v1.2.3