4#include <llvm/Support/CommandLine.h>
6using namespace llvm::cl;
11#define NULL_DEVICE "/dev/null"
14 "option-worker-stderr",
desc(
"Directory to write options worker stderr"),
18 "nixpkgs-worker-stderr",
19 desc(
"Writable file path for nixpkgs worker stderr (debugging)"),
25 std::unique_ptr<AttrSetClientProc> &
Worker) {
26 Worker = std::make_unique<AttrSetClientProc>([&Name]() {
37 std::unique_ptr<AttrSetClientProc> &
Worker) {
static const char * getExe()
bool fromJSON(const llvm::json::Value &Params, Configuration::Diagnostic &R, llvm::json::Path P)
llvm::cl::OptionCategory NixdCategory
void startAttrSetEval(const std::string &Name, std::unique_ptr< AttrSetClientProc > &Worker)
void startOption(const std::string &Name, std::unique_ptr< AttrSetClientProc > &Worker)
void startNixpkgs(std::unique_ptr< AttrSetClientProc > &NixpkgsEval)