fix build after nix commit 82b77a77262c414044fffc7ad8b955ad91827995

This commit is contained in:
ajs124
2020-09-11 20:19:58 +02:00
parent e630440a07
commit 2c61779816
2 changed files with 25 additions and 7 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;