diff --git a/generate-programs-index.cc b/generate-programs-index.cc index 4c2f30e..1797f62 100644 --- a/generate-programs-index.cc +++ b/generate-programs-index.cc @@ -48,7 +48,7 @@ void mainWrapped(int argc, char * * argv) auto binaryCache = openStore(binaryCacheUri).cast(); /* Get the allowed store paths to be included in the database. */ - auto allowedPaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile, true))); + auto allowedPaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile))); StorePathSet allowedPathsClosure; binaryCache->computeFSClosure(allowedPaths, allowedPathsClosure); diff --git a/index-debuginfo.cc b/index-debuginfo.cc index 4c69834..721d70e 100644 --- a/index-debuginfo.cc +++ b/index-debuginfo.cc @@ -29,7 +29,7 @@ void mainWrapped(int argc, char * * argv) if (hasSuffix(binaryCacheUri, "/")) binaryCacheUri.pop_back(); auto binaryCache = openStore(binaryCacheUri).cast(); - auto storePaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile, true))); + auto storePaths = binaryCache->parseStorePathSet(tokenizeString(readFile(storePathsFile))); std::regex debugFileRegex("^lib/debug/\\.build-id/[0-9a-f]{2}/[0-9a-f]{38}\\.debug$");