nix-eval-jobs/src/worker.hh
2024-05-23 16:23:45 -07:00

18 lines
382 B
C++

#pragma once
#include <lix/libmain/shared.hh>
#include <lix/libexpr/eval.hh>
#include "eval-args.hh"
class MyArgs;
namespace nix {
class AutoCloseFD;
class Bindings;
class EvalState;
template <typename T> class ref;
} // namespace nix
void worker(nix::ref<nix::EvalState> state, nix::Bindings &autoArgs,
nix::AutoCloseFD &to, nix::AutoCloseFD &from, MyArgs &args);