Skip to content

Commit

Permalink
Merge pull request #1343 from obsidiansystems/default-machine-file-fe…
Browse files Browse the repository at this point in the history
…atures

Use `StoreConfig::getDefaultSystemFeatures` for default machine config
  • Loading branch information
Ericson2314 authored Jan 25, 2024
2 parents f6a2b75 + b1fa6b3 commit cc50fdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hydra-queue-runner/hydra-queue-runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "state.hh"
#include "hydra-build-result.hh"
#include "store-api.hh"
#include "local-store.hh"
#include "remote-store.hh"

#include "globals.hh"
Expand Down Expand Up @@ -226,7 +227,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(",", settings.systemFeatures.get()));
+ concatStringsSep(",", (LocalStoreConfig { {} }).getDefaultSystemFeatures()));
machinesReadyLock.unlock();
return;
}
Expand Down

0 comments on commit cc50fdf

Please sign in to comment.