This commit is contained in:
Eelco Dolstra
2020-09-15 13:22:53 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -211,7 +211,7 @@ static void worker(
if (gcRootsDir != "" && localStore) {
Path root = gcRootsDir + "/" + std::string(baseNameOf(drvPath));
if (!pathExists(root))
localStore->addPermRoot(localStore->parseStorePath(drvPath), root, false);
localStore->addPermRoot(localStore->parseStorePath(drvPath), root);
}
nlohmann::json out;