diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-30T11·33+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-30T13·18+0200 |
commit | e2224844019d58fc947ce00e18e9fa9974d2c8b5 (patch) | |
tree | 20204fa548e7a926e838486c63250572f4d6c2e8 /src/libstore/local-store.cc | |
parent | b66ab6cdbce5f4ac2db8976872547680242166e8 (diff) |
Re-implement the WantMassQuery property of binary caches
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r-- | src/libstore/local-store.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 6f33c1e810bb..acd02eb48adc 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’") |