Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Apr 18, 2017
1 parent fed37ea commit cc85208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hydra-queue-runner/hydra-queue-runner.cc
Expand Up @@ -71,7 +71,7 @@ static uint64_t getMemSize()


State::State()
: config(std::make_unique<Config>())
: config(std::make_unique<::Config>())
, dbPool(config->getIntOption("max_db_connections", 128))
, memoryTokens(config->getIntOption("nar_buffer_size", getMemSize() / 2))
, maxOutputSize(config->getIntOption("max_output_size", 2ULL << 30))
Expand Down Expand Up @@ -189,7 +189,7 @@ void State::monitorMachinesFile()

if (machinesFiles.empty()) {
parseMachines("localhost " +
(settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem)
(settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem.get())
+ " - " + std::to_string(settings.maxBuildJobs) + " 1");
return;
}
Expand Down

0 comments on commit cc85208

Please sign in to comment.