* Fix hydra_eval_jobs.

This commit is contained in:
Eelco Dolstra 2011-09-15 08:34:08 +00:00
parent d8a7ca67f4
commit 2a18d8aac9

View file

@ -156,7 +156,7 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc,
done. */ done. */
if (gcRootsDir != "") { if (gcRootsDir != "") {
Path root = gcRootsDir + "/" + baseNameOf(drvPath); Path root = gcRootsDir + "/" + baseNameOf(drvPath);
if (!pathExists(root)) addPermRoot(drvPath, root, false); if (!pathExists(root)) addPermRoot(*store, drvPath, root, false);
} }
XMLOpenElement _(doc, "job", xmlAttrs); XMLOpenElement _(doc, "job", xmlAttrs);