diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-08-05 11:21:36 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-08-05 11:21:36 -0600 |
commit | e4eae078a52fa4209bb5a46d21dbed09dd9c54ec (patch) | |
tree | 028dd988a0ef1529bad93f69a29a89b287ad7ee2 /src | |
parent | f1a47a96b6ab55d0b0017df5b94b3da69c65bf21 (diff) |
add derivation path to hint
Diffstat (limited to 'src')
-rw-r--r-- | src/build-remote/build-remote.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build-remote/build-remote.cc b/src/build-remote/build-remote.cc index 2414a47c1..723e1463e 100644 --- a/src/build-remote/build-remote.cc +++ b/src/build-remote/build-remote.cc @@ -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(); |