mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
dropEmptyInitThenConcatStringsSep -> concatStringSep: diagnostics and docs
These are non-critical, so their behavior is ok to change. Dropping empty items is not needed and usually not expected.
This commit is contained in:
parent
a681d354e7
commit
ea966a70fc
9 changed files with 28 additions and 16 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "serialise.hh"
|
||||
#include "build-result.hh"
|
||||
#include "store-api.hh"
|
||||
#include "strings.hh"
|
||||
#include "derivations.hh"
|
||||
#include "local-store.hh"
|
||||
#include "legacy.hh"
|
||||
|
@ -206,15 +207,15 @@ static int main_build_remote(int argc, char * * argv)
|
|||
error
|
||||
% drvstr
|
||||
% neededSystem
|
||||
% dropEmptyInitThenConcatStringsSep<StringSet>(", ", requiredFeatures)
|
||||
% concatStringsSep<StringSet>(", ", requiredFeatures)
|
||||
% machines.size();
|
||||
|
||||
for (auto & m : machines)
|
||||
error
|
||||
% dropEmptyInitThenConcatStringsSep<StringSet>(", ", m.systemTypes)
|
||||
% concatStringsSep<StringSet>(", ", m.systemTypes)
|
||||
% m.maxJobs
|
||||
% dropEmptyInitThenConcatStringsSep<StringSet>(", ", m.supportedFeatures)
|
||||
% dropEmptyInitThenConcatStringsSep<StringSet>(", ", m.mandatoryFeatures);
|
||||
% concatStringsSep<StringSet>(", ", m.supportedFeatures)
|
||||
% concatStringsSep<StringSet>(", ", m.mandatoryFeatures);
|
||||
|
||||
printMsg(couldBuildLocally ? lvlChatty : lvlWarn, error.str());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue