diff --git a/src/c/hydra_eval_jobs.cc b/src/c/hydra_eval_jobs.cc index 84c6e8a5..b2efabd8 100644 --- a/src/c/hydra_eval_jobs.cc +++ b/src/c/hydra_eval_jobs.cc @@ -135,6 +135,18 @@ static void findJobsWrapped(EvalState & state, XMLWriter & doc, int prio = queryMetaFieldInt(meta, "schedulingPriority", 100); xmlAttrs["schedulingPriority"] = int2String(prio); + string maintainers; + MetaValue value = meta["maintainers"]; + if (value.type == MetaValue::tpString) + maintainers = value.stringValue; + else if (value.type == MetaValue::tpStrings) { + foreach (Strings::const_iterator, i, value.stringValues) { + if (maintainers.size() != 0) maintainers += ", "; + maintainers += *i; + } + } + xmlAttrs["maintainers"] = maintainers; + /* Register the derivation as a GC root. !!! This registers roots for jobs that we may have already done. */ diff --git a/src/root/build.tt b/src/root/build.tt index 989e5f5e..fd28cdc7 100644 --- a/src/root/build.tt +++ b/src/root/build.tt @@ -113,6 +113,10 @@