diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 8aacd007..1aa89663 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -17,6 +17,15 @@ using namespace nix; +namespace nix { + +template<> void toJSON>(std::ostream & str, const std::atomic & n) { str << n; } +template<> void toJSON>(std::ostream & str, const std::atomic & n) { str << n; } +template<> void toJSON(std::ostream & str, const double & n) { str << n; } + +} + + struct Config { std::map options;