add derivation path to hint
This commit is contained in:
parent
f1a47a96b6
commit
e4eae078a5
|
@ -172,7 +172,7 @@ static int _main(int argc, char * * argv)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// build the hint template.
|
// 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%s available machines:";
|
||||||
hintstring += "\n(systems, maxjobs, supportedFeatures, mandatoryFeatures)";
|
hintstring += "\n(systems, maxjobs, supportedFeatures, mandatoryFeatures)";
|
||||||
|
|
||||||
|
@ -183,6 +183,7 @@ static int _main(int argc, char * * argv)
|
||||||
// add the template values.
|
// add the template values.
|
||||||
auto hint = hintformat(hintstring);
|
auto hint = hintformat(hintstring);
|
||||||
hint
|
hint
|
||||||
|
% drvPath->to_string()
|
||||||
% neededSystem
|
% neededSystem
|
||||||
% concatStringsSep<StringSet>(", ", requiredFeatures)
|
% concatStringsSep<StringSet>(", ", requiredFeatures)
|
||||||
% machines.size();
|
% machines.size();
|
||||||
|
|
Loading…
Reference in a new issue