mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 00:08:07 +02:00
add derivation path to hint
This commit is contained in:
parent
f1a47a96b6
commit
e4eae078a5
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue