Simplify StoreConfig::getDefaultSystemFeatures call

That method is now static.
This commit is contained in:
John Ericson 2024-01-25 14:48:53 -05:00
parent aed130cd17
commit c64eed7d07

View file

@ -15,7 +15,6 @@
#include "state.hh"
#include "hydra-build-result.hh"
#include "store-api.hh"
#include "local-store.hh"
#include "remote-store.hh"
#include "globals.hh"
@ -227,7 +226,7 @@ void State::monitorMachinesFile()
parseMachines("localhost " +
(settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem.get())
+ " - " + std::to_string(settings.maxBuildJobs) + " 1 "
+ concatStringsSep(",", (LocalStoreConfig { {} }).getDefaultSystemFeatures()));
+ concatStringsSep(",", StoreConfig::getDefaultSystemFeatures()));
machinesReadyLock.unlock();
return;
}