add derivation path to hint

This commit is contained in:
Ben Burdette 2020-08-05 11:21:36 -06:00
parent f1a47a96b6
commit e4eae078a5

View file

@ -172,7 +172,7 @@ static int _main(int argc, char * * argv)
else
{
// build the hint template.
string hintstring = "required (system, features): (%s, %s)";
string hintstring = "derivation: %s\nrequired (system, features): (%s, %s)";
hintstring += "\n%s available machines:";
hintstring += "\n(systems, maxjobs, supportedFeatures, mandatoryFeatures)";
@ -183,6 +183,7 @@ static int _main(int argc, char * * argv)
// add the template values.
auto hint = hintformat(hintstring);
hint
% drvPath->to_string()
% neededSystem
% concatStringsSep<StringSet>(", ", requiredFeatures)
% machines.size();